Class GradientStopImpl
This class represents single gradient stop of the gradient fill.
Inheritance
System.Object
GradientStopImpl
Namespace: Syncfusion.XlsIO.Implementation.Shapes
Assembly: Syncfusion.XlsIO.NET.dll
Syntax
public class GradientStopImpl : Object
Constructors
GradientStopImpl(ColorObject, Int32, Int32)
Creates new instance of the GradientStop.
Declaration
public GradientStopImpl(ColorObject color, int position, int transparency)
Parameters
Type | Name | Description |
---|---|---|
ColorObject | color | Gradient stop color. |
System.Int32 | position | Gradient stop position. |
System.Int32 | transparency | Gradient stop transparecy. |
GradientStopImpl(ColorObject, Int32, Int32, Int32, Int32)
Creates new instance of the GradientStop.
Declaration
public GradientStopImpl(ColorObject color, int position, int transparency, int tint, int shade)
Parameters
Type | Name | Description |
---|---|---|
ColorObject | color | Gradient stop color. |
System.Int32 | position | Gradient stop position. |
System.Int32 | transparency | Gradient stop transparecy. |
System.Int32 | tint | Color tint value. |
System.Int32 | shade | Color shade value. |
GradientStopImpl(Byte[], Int32)
Initializes new instance of the gradient stop and extracts settings from specified data array..
Declaration
public GradientStopImpl(byte[] data, int offset)
Parameters
Type | Name | Description |
---|---|---|
System.Byte[] | data | Data to parse. |
System.Int32 | offset | Offset to start data parsing from. |
Properties
ColorObject
Gets / sets color of this gradient stop.
Declaration
public ColorObject ColorObject { get; }
Property Value
Type |
---|
ColorObject |
Position
Gets / sets position of this gradient stop.
Declaration
public int Position { get; set; }
Property Value
Type |
---|
System.Int32 |
Shade
Gets / sets shade of the color for this gradient stop.
Declaration
public int Shade { get; set; }
Property Value
Type |
---|
System.Int32 |
Tint
Gets / sets tint of the color for this gradient stop.
Declaration
public int Tint { get; set; }
Property Value
Type |
---|
System.Int32 |
Transparency
Gets / sets transparency of this gradient stop.
Declaration
public int Transparency { get; set; }
Property Value
Type |
---|
System.Int32 |