Class MapsFontBuilder
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Syncfusion.EJ2.Maps
Assembly: Syncfusion.EJ2.dll
Syntax
public class MapsFontBuilder : ControlBuilder
Constructors
MapsFontBuilder()
Declaration
public MapsFontBuilder()
MapsFontBuilder(MapsFont)
Declaration
public MapsFontBuilder(MapsFont model)
Parameters
Type | Name | Description |
---|---|---|
MapsFont | model |
Methods
Color(String)
Sets and gets the color for the text in data label, legend and other texts in maps component.
Declaration
public MapsFontBuilder Color(string value)
Parameters
Type | Name | Description |
---|---|---|
System.String | value |
Returns
Type | Description |
---|---|
MapsFontBuilder |
FontFamily(String)
Sets and gets the style of the text in data label, legend and other texts in maps component.
Declaration
public MapsFontBuilder FontFamily(string value)
Parameters
Type | Name | Description |
---|---|---|
System.String | value |
Returns
Type | Description |
---|---|
MapsFontBuilder |
FontStyle(String)
Sets and gets the style of the text in data label, legend and other texts in maps component.
Declaration
public MapsFontBuilder FontStyle(string value)
Parameters
Type | Name | Description |
---|---|---|
System.String | value |
Returns
Type | Description |
---|---|
MapsFontBuilder |
FontWeight(String)
Sets and gets the font weight of the text in data label, legend and other texts in maps component.
Declaration
public MapsFontBuilder FontWeight(string value)
Parameters
Type | Name | Description |
---|---|---|
System.String | value |
Returns
Type | Description |
---|---|
MapsFontBuilder |
Opacity(Double)
Sets and gets the opacity for the text in data label, legend and other texts in maps component.
Declaration
public MapsFontBuilder Opacity(double value)
Parameters
Type | Name | Description |
---|---|---|
System.Double | value |
Returns
Type | Description |
---|---|
MapsFontBuilder |
Size(String)
Sets and gets the size for the text in data label, legend and other texts.
Declaration
public MapsFontBuilder Size(string value)
Parameters
Type | Name | Description |
---|---|---|
System.String | value |
Returns
Type | Description |
---|---|
MapsFontBuilder |