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

TColor32Gradient

Manages multi-stop color gradients with linear color stop interpolation and stream serialization.

Inheritance:TObject 🞂 TPersistent 🞂 TInterfacedPersistent 🞂 TColor32Gradient

Declaration ​

pascal
TColor32Gradient = class(TInterfacedPersistent, IStreamPersist)

Description ​

TColor32Gradient maintains an ordered collection of TColor32GradientStop entries along a normalized offset domain [0.0,1.0].

It calculates exact interpolated colors at arbitrary offsets (GetColorAt) and fills lookup tables (FillColorLookUpTable) for fast scanline rendering.