using System; using System.Text; namespace DevComponents.DotNetBar.Presentation { /// /// Describes shape size. /// internal class SizeInfo { /// /// Gets or sets the width of the shape. When RelativeWidth is specified then number specifed here is added to the actual shape width. /// public int Width = 0; /// /// Gets or sets the height of the shape. When RelativeHeight is specified the number specified here is added to the actual shape height. /// public int Height = 0; /// /// Gets or sets the relative shape width. /// public eRelativeSize RelativeWidth = eRelativeSize.NotSet; /// /// Gets or sets the relative shape height. /// public eRelativeSize RelativeHeight = eRelativeSize.NotSet; } internal enum eRelativeSize { NotSet, Width, Height } }