Class SFMapLegendSettings
Inheritance
System.Object
SFMapLegendSettings
Namespace: Syncfusion.SfMaps.iOS
Assembly: Syncfusion.SfMaps.iOS.dll
Syntax
public class SFMapLegendSettings : NSObject
Constructors
SFMapLegendSettings()
Initializes a new instance of the SFMapLegendSettings class.
Declaration
public SFMapLegendSettings()
Properties
Font
Gets or sets the text style of the legend.
Declaration
public UIFont Font { get; set; }
Property Value
Type |
---|
UIKit.UIFont |
HorizontalAlignment
Gets or sets the HorizontalAlignment of the legend.
Declaration
public HorizontalAlignment HorizontalAlignment { get; set; }
Property Value
Type |
---|
HorizontalAlignment |
IconSize
Gets or sets the size of legend icon.
Declaration
public CGSize IconSize { get; set; }
Property Value
Type | Description |
---|---|
CoreGraphics.CGSize | The size of the icon. |
ItemMargin
Gets or sets the item spacing of the legend.
Declaration
public float ItemMargin { get; set; }
Property Value
Type |
---|
System.Single |
LegendIcon
Gets or sets the icon for legend.
Declaration
public LegendIcon LegendIcon { get; set; }
Property Value
Type |
---|
LegendIcon |
LegendType
Gets or sets the type of the legend.
Declaration
public LegendType LegendType { get; set; }
Property Value
Type |
---|
LegendType |
Position
Gets or sets the position of legend.
Declaration
public CGPoint Position { get; set; }
Property Value
Type | Description |
---|---|
CoreGraphics.CGPoint | The position. |
ShowLegend
Gets or sets a value indicating whether to show the legend or not.
Declaration
public bool ShowLegend { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
Size
Gets or sets the size of the legend layer.
Declaration
public CGSize Size { get; set; }
Property Value
Type | Description |
---|---|
CoreGraphics.CGSize | The size. |
TextColor
Gets or sets the text color of the legend.
Declaration
public UIColor TextColor { get; set; }
Property Value
Type |
---|
UIKit.UIColor |
TextSize
Gets or sets the text size of the legend.
Declaration
public float TextSize { get; set; }
Property Value
Type |
---|
System.Single |
VerticalAlignment
Gets or sets the HorizontalAlignment of the legend.
Declaration
public VerticalAlignment VerticalAlignment { get; set; }
Property Value
Type |
---|
VerticalAlignment |