Class CircularGaugeFontBuilder
Inheritance
System.Object
Syncfusion.EJ2.ControlBuilder
CircularGaugeFontBuilder
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Syncfusion.EJ2.CircularGauge
Assembly: Syncfusion.AspNetMvc.CircularGauge.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, tooltip, and so on.
Declaration
public CircularGaugeFontBuilder Color(string value)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | value |
Returns
| Type |
|---|
| CircularGaugeFontBuilder |
FontFamily(String)
Gets and sets the font family for the text in annotation, label, tooltip, and so on.
Declaration
public CircularGaugeFontBuilder FontFamily(string value)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | value |
Returns
| Type |
|---|
| CircularGaugeFontBuilder |
FontStyle(String)
Gets and sets the font style for the text in annotation, label, tooltip, and so on.
Declaration
public CircularGaugeFontBuilder FontStyle(string value)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | value |
Returns
| Type |
|---|
| CircularGaugeFontBuilder |
FontWeight(String)
Gets and sets the font weight for the text in annotation, label, tooltip, and so on.
Declaration
public CircularGaugeFontBuilder FontWeight(string value)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | value |
Returns
| Type |
|---|
| CircularGaugeFontBuilder |
Opacity(Double)
Sets and gets the font opacity for the text in annotation, label, tooltip, and so on.
Declaration
public CircularGaugeFontBuilder Opacity(double value)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Double | value |
Returns
| Type |
|---|
| CircularGaugeFontBuilder |
Size(String)
Gets and sets the text font size in an annotation, label, tooltip, and so on. The default of the size is '16px'.
Declaration
public CircularGaugeFontBuilder Size(string value)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | value |
Returns
| Type |
|---|
| CircularGaugeFontBuilder |