Skip to content
Member Filters
Show Inherited
Show Protected
Show abstract
GR32_ColorGradients🞂TColor32GradientStopType

TColor32GradientStop

Defines a color stop position offset and 32-bit ARGB color value along a color gradient.

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 ​

FieldTypeDescription
OffsetTFloatRelative offset position along the gradient in the normalized range [0.0,1.0].
Color32TColor3232-bit ARGB color assigned to this gradient stop position.

See Also ​