Class ColorInfoBuilder
Class for color info builder.
Inheritance
Inherited Members
Namespace: Syncfusion.JavaScript.DataVisualization
Assembly: Syncfusion.EJ.dll
Syntax
public class ColorInfoBuilder
Constructors
ColorInfoBuilder(PointerGradient)
Initializes a new instance of the ColorInfoBuilder class to indicate the pointer gradient color information.
Declaration
public ColorInfoBuilder(PointerGradient colorInfo)
Parameters
Type | Name | Description |
---|---|---|
PointerGradient | colorInfo | The pointer gradient color information. |
ColorInfoBuilder(PointerGradient1)
Initializes a new instance of the ColorInfoBuilder class to indicate the pointer gradient one color information.
Declaration
public ColorInfoBuilder(PointerGradient1 colorInfo)
Parameters
Type | Name | Description |
---|---|---|
PointerGradient1 | colorInfo | The pointer gradient one color information. |
ColorInfoBuilder(PointerGradient2)
Initializes a new instance of the ColorInfoBuilder class to indicate the pointer gradient two color information.
Declaration
public ColorInfoBuilder(PointerGradient2 colorInfo)
Parameters
Type | Name | Description |
---|---|---|
PointerGradient2 | colorInfo | The pointer gradient two color information. |
ColorInfoBuilder(RangeGradient)
Initializes a new instance of the ColorInfoBuilder class to indicate the range gradient color information.
Declaration
public ColorInfoBuilder(RangeGradient colorInfo)
Parameters
Type | Name | Description |
---|---|---|
RangeGradient | colorInfo | The range gradient color information. |
ColorInfoBuilder(ScaleBarGradient)
Initializes a new instance of the ColorInfoBuilder class to indicate the scale bar gradient color information.
Declaration
public ColorInfoBuilder(ScaleBarGradient colorInfo)
Parameters
Type | Name | Description |
---|---|---|
ScaleBarGradient | colorInfo | The scale bar gradient color information. |
ColorInfoBuilder(SegmentGradient)
Initializes a new instance of the ColorInfoBuilder class to indicate the segment gradient color information.
Declaration
public ColorInfoBuilder(SegmentGradient colorInfo)
Parameters
Type | Name | Description |
---|---|---|
SegmentGradient | colorInfo | The segment gradient color information. |
Methods
Add()
Adds this instance.
Declaration
public void Add()
Color(String)
Colors the specified color.
Declaration
public ColorInfoBuilder Color(string color)
Parameters
Type | Name | Description |
---|---|---|
System.String | color | The color. |
Returns
Type | Description |
---|---|
ColorInfoBuilder |
ColorStop(Int32)
Colors the stop.
Declaration
public ColorInfoBuilder ColorStop(int colorStop)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | colorStop | The color stop. |
Returns
Type | Description |
---|---|
ColorInfoBuilder |