Table of Contents

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
CompareTo Compares 2 instances of this struct.
Create Creates a new Gradient stop.
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.
GreaterThan Adapts the > operator so it returns true when the first parameter is bigger than the second.
Inequality Adapts the <> operator so it returns true when both instances have different values.
LessThan Adapts the < operator so it returns true when the first parameter is smaller than the second.

Properties

Name Description
Color Color for this definition.
Position This value must be between 0 and 1, and represents the position in the gradient where the Color in this structure is pure.