Skip to main content

TdxGPBrushGradientPoints.Count Property

Returns the current number of key points on the gradient line.

Declaration

property Count: Integer read;

Property Value

Type
Integer

Remarks

Use this property to identify the number of key points created for this linear gradient. The Count property is useful for indexed accessing of color and position values of individual key gradient points.

The Count property value does not reflect the “virtual” edge key gradient points, created when no actual key point matches the beginning and/or end of the gradient line:

See Also