Class FontBuilder
Class for font builder.
Inheritance
System.Object
FontBuilder
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.JavaScript.DataVisualization
Assembly: Syncfusion.EJ.dll
Syntax
public class FontBuilder
Constructors
FontBuilder(CustomLabel)
Initializes a new instance of the FontBuilder class to indicate the custom label font.
Declaration
public FontBuilder(CustomLabel font)
Parameters
Type | Name | Description |
---|---|---|
CustomLabel | font | The custom label font. |
FontBuilder(Indicators)
Initializes a new instance of the FontBuilder class to indicate the indicator font.
Declaration
public FontBuilder(Indicators font)
Parameters
Type | Name | Description |
---|---|---|
Indicators | font | The indicator font. |
FontBuilder(Labels)
Initializes a new instance of the FontBuilder class to indicate the label font.
Declaration
public FontBuilder(Labels font)
Parameters
Type | Name | Description |
---|---|---|
Labels | font | The label font. |
Methods
FontFamily(String)
Fonts the family.
Declaration
public FontBuilder FontFamily(string fontFamily)
Parameters
Type | Name | Description |
---|---|---|
System.String | fontFamily | The font family. |
Returns
Type | Description |
---|---|
FontBuilder |
FontStyle(String)
Fonts the style.
Declaration
public FontBuilder FontStyle(string fontStyle)
Parameters
Type | Name | Description |
---|---|---|
System.String | fontStyle | The font style. |
Returns
Type | Description |
---|---|
FontBuilder |
Size(String)
Sizes the specified size.
Declaration
public FontBuilder Size(string size)
Parameters
Type | Name | Description |
---|---|---|
System.String | size | The size. |
Returns
Type | Description |
---|---|
FontBuilder |