Skip to main content
Pie
ra0

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TcxCanvas.FillRegion(TcxRegionHandle,TColor) Method

Fills a specified region with a solid color.

#Declaration

Delphi
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