[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
The Brush used to paint on the Canvas.
Source position: graphics.pp line 1180
published property TCanvas.Brush : TBrush |
Brush is a TBrush property with the tool used to paint the interior of filled shapes on the drawing surface. It has settings like Color and Style, but may also use a Bitmap to fill the interior of shapes.
Setting a new value for the property causes the handle for the Brush to be freed and re-created in the cached resources for the canvas.The values from the new Brush are assigned to the member variable for the property. The BrushChanged method is called to update the state flags for the canvas.
Use Pen to configure the tool used to draw lines and curves on the drawing surface.
Use Font to set the typeface, color, and style used to draw text on the drawing surface.
|
Implements the OnChanging event handler for the Brush on the canvas. |
|
|
The Pen to be used for writing in this canvas. |
|
|
Contains the Font used to render text on the drawing surface. |
|
|
The Brush to be used to Paint on the current Canvas. |
Version 3.2 | Generated 2024-02-25 | Home |