Class LinearGaugeColorStopBuilder
Inheritance
System.Object
Syncfusion.EJ2.ControlBuilder
LinearGaugeColorStopBuilder
Namespace: Syncfusion.EJ2.LinearGauge
Assembly: Syncfusion.EJ2.dll
Syntax
public class LinearGaugeColorStopBuilder : ControlBuilder
Constructors
LinearGaugeColorStopBuilder()
Declaration
public LinearGaugeColorStopBuilder()
LinearGaugeColorStopBuilder(List<LinearGaugeColorStop>)
Declaration
public LinearGaugeColorStopBuilder(List<LinearGaugeColorStop> collection)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.List<LinearGaugeColorStop> | collection |
Methods
Add()
Declaration
public void Add()
Color(String)
Specifies the color of the gradient.
Declaration
public LinearGaugeColorStopBuilder Color(string color)
Parameters
Type | Name | Description |
---|---|---|
System.String | color |
Returns
Offset(String)
Specifies the offset of the gradient.
Declaration
public LinearGaugeColorStopBuilder Offset(string offset)
Parameters
Type | Name | Description |
---|---|---|
System.String | offset |
Returns
Opacity(Double)
Specifies the opacity of the gradient.
Declaration
public LinearGaugeColorStopBuilder Opacity(double opacity)
Parameters
Type | Name | Description |
---|---|---|
System.Double | opacity |
Returns
Style(String)
Specifies the style of the gradient.
Declaration
public LinearGaugeColorStopBuilder Style(string style)
Parameters
Type | Name | Description |
---|---|---|
System.String | style |