Class CircularGaugeFontBuilder
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.CircularGauge
Assembly: Syncfusion.EJ2.dll
Syntax
public class CircularGaugeFontBuilder : ControlBuilder
Constructors
CircularGaugeFontBuilder()
Declaration
public CircularGaugeFontBuilder()
CircularGaugeFontBuilder(CircularGaugeFont)
Declaration
public CircularGaugeFontBuilder(CircularGaugeFont model)
Parameters
Type | Name | Description |
---|---|---|
CircularGaugeFont | model |
Methods
Color(String)
Gets and sets the font color of the text in annotation, label and tooltip etc.
Declaration
public CircularGaugeFontBuilder Color(string value)
Parameters
Type | Name | Description |
---|---|---|
System.String | value |
Returns
Type | Description |
---|---|
CircularGaugeFontBuilder |
FontFamily(String)
Gets and sets the font family for the given text in annotation, tooltip etc.
Declaration
public CircularGaugeFontBuilder FontFamily(string value)
Parameters
Type | Name | Description |
---|---|---|
System.String | value |
Returns
Type | Description |
---|---|
CircularGaugeFontBuilder |
FontStyle(String)
Gets and sets the style of the font, which is in in annotation, tooltip etc.
Declaration
public CircularGaugeFontBuilder FontStyle(string value)
Parameters
Type | Name | Description |
---|---|---|
System.String | value |
Returns
Type | Description |
---|---|
CircularGaugeFontBuilder |
FontWeight(String)
Gets and sets the font weight for the text in annotation, tooltip etc.
Declaration
public CircularGaugeFontBuilder FontWeight(string value)
Parameters
Type | Name | Description |
---|---|---|
System.String | value |
Returns
Type | Description |
---|---|
CircularGaugeFontBuilder |
Opacity(Double)
Sets and gets the opacity for the annotation or tooltip text.
Declaration
public CircularGaugeFontBuilder Opacity(double value)
Parameters
Type | Name | Description |
---|---|---|
System.Double | value |
Returns
Type | Description |
---|---|
CircularGaugeFontBuilder |
Size(String)
Gets and sets the font size of the text in annotation, label, and tooltip, etc. The default of the size is '16px'.
Declaration
public CircularGaugeFontBuilder Size(string value)
Parameters
Type | Name | Description |
---|---|---|
System.String | value |
Returns
Type | Description |
---|---|
CircularGaugeFontBuilder |