Vcl.Graphics.TCanvas.Brush
Delphi
property Brush: TBrush read FBrush write SetBrush;
C++
__property TBrush* Brush = {read=FBrush, write=SetBrush};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | published | Vcl.Graphics.pas Vcl.Graphics.hpp |
Vcl.Graphics | TCanvas |
Description
Determines the color and pattern for filling graphical shapes and backgrounds.
Set the Brush property to specify the color and pattern to use when drawing the background or filling in graphical shapes. The value of Brush is a TBrush object. Set the properties of the TBrush object to specify the color and pattern or bitmap to use when filling in spaces on the canvas.
Note: Setting the Brush property assigns the specified TBrush object, rather than replacing the current TBrush object.
See Also
Code Examples