TRSGPGradientPoint represents an item in a collection of gradient points.
A TRSGPGradientPoint object holds information about the color and the offset of a specific point in a gradient. The points collectively determine the color transitions in a gradient. By default, TRSGPGradient has two color points.
Namespace: RSGdiPlusGraphics
TCollectionItem
RSGdiPlusGraphics.TRSGPGradientPoint
|
Delphi
|
type
TRSGPGradientPoint = class(TCollectionItem)
end;
|
|
Name
|
Description
|
|
Color
|
Specifies the color of the current gradient point.
|
|
Offset
|
Indicates the start of the gradient points.
Set the Offset property to indicate the start of the gradient points in your gradient object. Offset scales to however the gradient is painted, with 0.0 being the start and 1.0 being the end of the gradient. The Offset of each point is where the color is exactly as specified and it transitions from the previous color (if any) up to it, and transitions to the next color (if any) after it. The zero Offset is at the StartPosition of a linear gradient, and on the outside of a radial gradient.
|
Top
|