TRadialGradientPolygonFiller

Ancestors

TObject
   |
TCustomPolygonFiller
   |
TCustomGradientPolygonFiller
   |
TCustomRadialGradientPolygonFiller

The TRadialGradientPolygonFiller implements a simple radial color gradient.

It can be defined either by specifying the ellipse bounds or by specifying the center and radius. Between this center and the ellipse the colors are interpolated linearly according to the specified gradient color stops.


Figure 1: Polygon filled with the TRadialGradientPolygonFiller with several colors, a certain radius and center (wrap modes: clamp, mirror and repeat)

Reference

Methods Properties
In TRadialGradientPolygonFiller:
BeginRendering Center
Radius
In TCustomRadialGradientPolygonFiller:
Create EllipseBounds
Destroy
In TCustomGradientPolygonFiller:
Gradient
WrapMode
In TCustomPolygonFiller:
GetFillLine

See Also

Examples