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

Color32GradientStop

Constructs and initializes a TColor32GradientStop record from an offset position and color.

Declaration ​

pascal
function Color32GradientStop(Offset: TFloat; Color: TColor32): TColor32GradientStop; overload;

Parameters ​

ParameterTypeDescription
OffsetTFloatNormalized gradient offset position in the range [0.0, 1.0].
ColorTColor3232-bit ARGB color value.

Returns ​

TypeDescription
TColor32GradientStopA TColor32GradientStop record initialized with the specified offset and color.

Description ​

Color32GradientStop is a convenience constructor routine for creating TColor32GradientStop records inline.

See Also ​