Declaration ​
pascal
TColor32GradientStop = record
Offset: TFloat;
Color32: TColor32;
end;
TArrayOfColor32GradientStop = array of TColor32GradientStop;Description ​
TColor32GradientStop specifies a key position (offset) and corresponding color along a color gradient path.
The Offset parameter indicates relative distance along the normalized gradient domain, where 0.0 represents the start of the gradient and 1.0 represents the end.
Record Fields ​
| Field | Type | Description |
|---|---|---|
Offset | TFloat | Relative offset position along the gradient in the normalized range |
Color32 | TColor32 | 32-bit ARGB color assigned to this gradient stop position. |