using SharpMap.Api.Enums; namespace SharpMap.Api.Layers { public interface ILabelStyle : IStyle { /// /// Label Font /// System.Drawing.Font Font { get; set; } /// /// Font color /// System.Drawing.Color ForeColor { get; set; } /// /// The background color of the label. Set to transparent brush or null if background isn't needed /// System.Drawing.Brush BackColor { get; set; } /// /// Creates a halo around the text /// System.Drawing.Pen Halo { get; set; } /// /// Specifies relative position of labels with respect to objects label point /// System.Drawing.PointF Offset { get; set; } /// /// Gets or sets whether Collision Detection is enabled for the labels. /// If set to true, label collision will be tested. /// bool CollisionDetection { get; set; } /// /// Distance around label where collision buffer is active /// System.Drawing.SizeF CollisionBuffer { get; set; } /// /// The horisontal alignment of the text in relation to the labelpoint /// HorizontalAlignmentEnum HorizontalAlignment { get; set; } /// /// The horisontal alignment of the text in relation to the labelpoint /// VerticalAlignmentEnum VerticalAlignment { get; set; } object Clone(); } }