Class DigitalGaugeFontBuilder
Class for digital gauge font builder.
Inheritance
System.Object
DigitalGaugeFontBuilder
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 DigitalGaugeFontBuilder
Constructors
DigitalGaugeFontBuilder(DigitalGaugeFont)
Initializes a new instance of the DigitalGaugeFontBuilder class to indicate the font.
Declaration
public DigitalGaugeFontBuilder(DigitalGaugeFont fnt)
Parameters
Type | Name | Description |
---|---|---|
DigitalGaugeFont | fnt | The Font. |
Methods
FontFamily(String)
Fonts the family.
Declaration
public DigitalGaugeFontBuilder FontFamily(string fontFamily)
Parameters
Type | Name | Description |
---|---|---|
System.String | fontFamily | The font family. |
Returns
Type | Description |
---|---|
DigitalGaugeFontBuilder |
FontStyle(FontStyle)
Fonts the style.
Declaration
public DigitalGaugeFontBuilder FontStyle(FontStyle fontStyle)
Parameters
Type | Name | Description |
---|---|---|
FontStyle | fontStyle | The font style. |
Returns
Type | Description |
---|---|
DigitalGaugeFontBuilder |
Size(String)
Sizes the specified size.
Declaration
public DigitalGaugeFontBuilder Size(string size)
Parameters
Type | Name | Description |
---|---|---|
System.String | size | The size. |
Returns
Type | Description |
---|---|
DigitalGaugeFontBuilder |