TcxCanvas.Brush Property
Specifies the active brush of the canvas.
Declaration
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