Class CircularGaugeColorStopBuilder
Inheritance
System.Object
Syncfusion.EJ2.ControlBuilder
CircularGaugeColorStopBuilder
Namespace: Syncfusion.EJ2.CircularGauge
Assembly: Syncfusion.EJ2.dll
Syntax
public class CircularGaugeColorStopBuilder : ControlBuilder
Constructors
CircularGaugeColorStopBuilder()
Declaration
public CircularGaugeColorStopBuilder()
CircularGaugeColorStopBuilder(List<CircularGaugeColorStop>)
Declaration
public CircularGaugeColorStopBuilder(List<CircularGaugeColorStop> collection)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.List<CircularGaugeColorStop> | collection |
Methods
Add()
Declaration
public void Add()
Color(String)
Defines the color to be used in the gradient.
Declaration
public CircularGaugeColorStopBuilder Color(string color)
Parameters
Type | Name | Description |
---|---|---|
System.String | color |
Returns
Offset(String)
Defines the gradient color begin and end in percentage.
Declaration
public CircularGaugeColorStopBuilder Offset(string offset)
Parameters
Type | Name | Description |
---|---|---|
System.String | offset |
Returns
Opacity(Double)
Defines the opacity to be used in the gradient.
Declaration
public CircularGaugeColorStopBuilder Opacity(double opacity)
Parameters
Type | Name | Description |
---|---|---|
System.Double | opacity |
Returns
Style(String)
Defines the style of the color stop in the gradient element.
Declaration
public CircularGaugeColorStopBuilder Style(string style)
Parameters
Type | Name | Description |
---|---|---|
System.String | style |