Class CircularGaugeColorStopBuilder
Inheritance
System.Object
Syncfusion.EJ2.ControlBuilder
CircularGaugeColorStopBuilder
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 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
| Type |
|---|
| CircularGaugeColorStopBuilder |
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
| Type |
|---|
| CircularGaugeColorStopBuilder |
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
| Type |
|---|
| CircularGaugeColorStopBuilder |
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 |
Returns
| Type |
|---|
| CircularGaugeColorStopBuilder |