Skip to main content

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.Brush Property

Specifies the active brush of the canvas.

#Declaration

Delphi
property Brush: TBrush read; write;

#Property Value

Type
TBrush

#Remarks

Use the Brush.Color and Brush.Style properties to specify the color and pattern that the canvas uses to fill shapes by default. Alternatively, you can assign a TBitmap container to the Brush.Bitmap property to use an image as a fill pattern for the brush.

The active brush settings have no effect on shape draw procedures that accept the fill color and pattern as parameters.

Note

The Brush property maps to the Brush property of the underlying canvas.

See Also