TGradientStop Record
Represents one of the points in a Gradient definition for an Excel cell. Note that drawings (autoshapes, charts, etc) use a different Gradient definition: TDrawingGradientStop
Syntax
Unit: FlexCel.Core
TGradientStop = record;
Methods
| Name |
Description |
| Create |
Creates a new Gradient stop.
|
| CompareTo |
Compares 2 instances of this struct.
|
| Equals |
Returns if this struct has the same values as other one.
|
| GetHashCode |
Returns the hashcode for this struct.
|
Operators
| Name |
Description |
| Equality |
Adapts the = operator so it returns true when both instances have the same values. |
| Inequality |
Adapts the <> operator so it returns true when both instances have different values. |
| GreaterThan |
Adapts the > operator so it returns true when the first parameter is bigger than the second. |
| LessThan |
Adapts the < operator so it returns true when the first parameter is smaller than the second. |
Properties
| Name |
Description |
| Position |
This value must be between 0 and 1, and represents the position in the gradient where the Color in this structure is pure.
|
| Color |
Color for this definition.
|