TColor32Gradient

Ancestors

TInterfacedPersistent,IStreamPersist

Description

The TColor32Gradient contains information about the 1D color gradient, that is used as reference for the drawing. Internally it encapsulates an array of TColor32GradientStop

For easy access to the first and last color in the array, theproperties start color and end color are present, but whithout information about the offset. Further color stops may be added by calling AddColorStop.

The color gradient can be stored to a stream by using SaveToStream and recalled by using LoadFromStream with a proprietary format.

Reference

Methods Properties Events
AddColorStop EndColor OnGradientColorsChanged
ClearColorStops GradientCount
Create GradientEntry
FillColorLookUpTable StartColor
GetColorAt
LoadFromStream
SaveToStream
SetColors

See Also

TColor32GradientStop