Index: src/Common/SharpMap.Api/Layers/ILabelStyle.cs =================================================================== diff -u -r8f6ae890fed8e8eae3a32f9c0498a10f82e0ddf9 -r5fc71a385897af92ccb092f2f969b5709afab85a --- src/Common/SharpMap.Api/Layers/ILabelStyle.cs (.../ILabelStyle.cs) (revision 8f6ae890fed8e8eae3a32f9c0498a10f82e0ddf9) +++ src/Common/SharpMap.Api/Layers/ILabelStyle.cs (.../ILabelStyle.cs) (revision 5fc71a385897af92ccb092f2f969b5709afab85a) @@ -1,3 +1,4 @@ +using System.Drawing; using SharpMap.Api.Enums; namespace SharpMap.Api.Layers @@ -7,27 +8,27 @@ /// /// Label Font /// - System.Drawing.Font Font { get; set; } + Font Font { get; set; } /// /// Font color /// - System.Drawing.Color ForeColor { get; set; } + 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; } + Brush BackColor { get; set; } /// /// Creates a halo around the text /// - System.Drawing.Pen Halo { get; set; } + Pen Halo { get; set; } /// /// Specifies relative position of labels with respect to objects label point /// - System.Drawing.PointF Offset { get; set; } + PointF Offset { get; set; } /// /// Gets or sets whether Collision Detection is enabled for the labels. @@ -38,7 +39,7 @@ /// /// Distance around label where collision buffer is active /// - System.Drawing.SizeF CollisionBuffer { get; set; } + SizeF CollisionBuffer { get; set; } /// /// The horisontal alignment of the text in relation to the labelpoint