using System.Drawing;
using SharpMap.Api.Enums;
namespace SharpMap.Api.Layers
{
public interface ILabelStyle : IStyle
{
///
/// Label Font
///
Font Font { get; set; }
///
/// Font color
///
Color ForeColor { get; set; }
///
/// The background color of the label. Set to transparent brush or null if background isn't needed
///
Brush BackColor { get; set; }
///
/// Creates a halo around the text
///
Pen Halo { get; set; }
///
/// Specifies relative position of labels with respect to objects label point
///
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
///
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();
}
}