Skip to main content
Pie
ra0

TcxCanvas.FillRegion(TcxRegionHandle,TColor) Method

Fills a specified region with a solid color.

Declaration

procedure FillRegion(ARegion: TcxRegionHandle; AColor: TColor = clDefault); overload;

Parameters

Name Type
ARegion TcxRegionHandle
AColor TColor

Remarks

Call either of these overloaded procedures and pass a target color as the optional AColor parameter to fill a simple or complex region on the canvas. The ARegion procedures use the current brush color to fill the target region if the AColor parameter is omitted.

The first FillRegion procedure variant accepts a target region as the ARegion parameter while the second variant accepts a handle to the target region.

See Also