Class LinearGaugeFontBuilder
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.LinearGauge
Assembly: Syncfusion.EJ2.dll
Syntax
public class LinearGaugeFontBuilder : ControlBuilder
Constructors
LinearGaugeFontBuilder()
Declaration
public LinearGaugeFontBuilder()
LinearGaugeFontBuilder(LinearGaugeFont)
Declaration
public LinearGaugeFontBuilder(LinearGaugeFont model)
Parameters
Type | Name | Description |
---|---|---|
LinearGaugeFont | model |
Methods
Color(String)
Sets and gets the font color for text.
Declaration
public LinearGaugeFontBuilder Color(string value)
Parameters
Type | Name | Description |
---|---|---|
System.String | value |
Returns
Type | Description |
---|---|
LinearGaugeFontBuilder |
FontFamily(String)
Sets and gets the font-family for text.
Declaration
public LinearGaugeFontBuilder FontFamily(string value)
Parameters
Type | Name | Description |
---|---|---|
System.String | value |
Returns
Type | Description |
---|---|
LinearGaugeFontBuilder |
FontStyle(String)
Sets and gets the font style for the text.
Declaration
public LinearGaugeFontBuilder FontStyle(string value)
Parameters
Type | Name | Description |
---|---|---|
System.String | value |
Returns
Type | Description |
---|---|
LinearGaugeFontBuilder |
FontWeight(String)
Sets and gets the font weight of the text.
Declaration
public LinearGaugeFontBuilder FontWeight(string value)
Parameters
Type | Name | Description |
---|---|---|
System.String | value |
Returns
Type | Description |
---|---|
LinearGaugeFontBuilder |
Opacity(Double)
Sets and gets the opacity of the text.
Declaration
public LinearGaugeFontBuilder Opacity(double value)
Parameters
Type | Name | Description |
---|---|---|
System.Double | value |
Returns
Type | Description |
---|---|
LinearGaugeFontBuilder |
Size(String)
Sets and gets the size of the font in text.
Declaration
public LinearGaugeFontBuilder Size(string value)
Parameters
Type | Name | Description |
---|---|---|
System.String | value |
Returns
Type | Description |
---|---|
LinearGaugeFontBuilder |