Class ChartGradientColorStopBuilder
Inheritance
System.Object
Syncfusion.EJ2.ControlBuilder
ChartGradientColorStopBuilder
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.Charts
Assembly: Syncfusion.AspNetMvc.Charts.dll
Syntax
public class ChartGradientColorStopBuilder : ControlBuilder
Constructors
ChartGradientColorStopBuilder()
Declaration
public ChartGradientColorStopBuilder()
ChartGradientColorStopBuilder(List<ChartGradientColorStop>)
Declaration
public ChartGradientColorStopBuilder(List<ChartGradientColorStop> collection)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Collections.Generic.List<ChartGradientColorStop> | collection |
Methods
Add()
Declaration
public void Add()
Brighten(Double)
The brightness adjustment for the color.
Declaration
public ChartGradientColorStopBuilder Brighten(double brighten)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Double | brighten |
Returns
| Type |
|---|
| ChartGradientColorStopBuilder |
Color(String)
The color of the stop.
Declaration
public ChartGradientColorStopBuilder Color(string color)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | color |
Returns
| Type |
|---|
| ChartGradientColorStopBuilder |
Lighten(Double)
The lightness adjustment for the color.
Declaration
public ChartGradientColorStopBuilder Lighten(double lighten)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Double | lighten |
Returns
| Type |
|---|
| ChartGradientColorStopBuilder |
Offset(Double)
The offset position of the color stop.
Declaration
public ChartGradientColorStopBuilder Offset(double offset)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Double | offset |
Returns
| Type |
|---|
| ChartGradientColorStopBuilder |
Opacity(Double)
The opacity of the color stop
Declaration
public ChartGradientColorStopBuilder Opacity(double opacity)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Double | opacity |
Returns
| Type |
|---|
| ChartGradientColorStopBuilder |