// Copyright © Selmo Technology GmbH. All Rights Reserved

namespace SelmoStudio.Hmi.Server.Shared.Components.BaseComponents
{
    public partial class HexagonComponent : ShapeComponentBase
    {
        private string _hexagonPoints
        {
            get
            {
                double h = Height;
                double w = Width;
                double x = w / 4;
                return $"{x},0 {w - x},0 {w},{h / 2} {w - x},{h} {x},{h} 0,{h / 2}";
            }
        }
    }
}