GroupsNodeGraphics.cs

52 lines | 1.327 kB Blame History Raw Download
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

using System.Drawing;

using yEd.XGML.Enums;

namespace yEd.XGML.DocumentEntities.GroupNodeEntitie
{
    public class GroupsNodeGraphics
    {
        /// <summary>
        /// X coordinate
        /// </summary>
        public double x { set; get; }
        /// <summary>
        /// Y coordinate
        /// </summary>
        public double y { set; get; }
        /// <summary>
        /// Widht
        /// </summary>
        public double w { set; get; } = 50;
        /// <summary>
        /// Height
        /// </summary>
        public double h { set; get; } = 50;
        /// <summary>
        /// Geometri type
        /// </summary>
        public EnumNodeType type { set; get; } = EnumNodeType.rectangle;

        /// <summary>
        /// Fill color
        /// </summary>
        public Color fill { set; get; } = ColorTranslator.FromHtml("#F2F0D8");
        /// <summary>
        /// Outline Color
        /// </summary>
        public Color outline { set; get; } = ColorTranslator.FromHtml("#000000");


        public double topBorderInset { set; get; }
        public double bottomBorderInset { set; get; }
        public double leftBorderInset { set; get; }
        public double rightBorderInset { set; get; }
    }
}