TcxCanvas.FillRect(TRect,TcxViewParams,Boolean) Method
In This Article
Draws a filled rectangle.
#Declaration
Delphi
procedure FillRect(const R: TRect; const AParams: TcxViewParams; AExcludeRect: Boolean = False); overload;
#Parameters
Name | Type |
---|---|
R | TRect |
AParams | Tcx |
AExclude |
Boolean |
#Remarks
Call any of the three overloaded FillRect procedure variants and pass a rectangle as the R parameter to draw the filled rectangle on the canvas. The filled area includes the top and left sides of the target rectangle but excludes the bottom and right sides.
Overloaded Variant | Description |
---|---|
1 | This procedure variant accepts a TColor value (AColor), updates the Brush. |
2 | This variant fills the target rectangle with a bitmap within an image container passed as the optional ABitmap parameter. The Fill |
3 | This variant accepts a single Tcx |
See Also