[Overview][Types][Classes][Procedures and functions][Index] |
Draws the shape for the control on its Canvas.
Source position: extctrls.pp line 283
public procedure TShape.Paint; override; |
Paint is an overridden procedure used to draw the shape for the control on its Canvas. Paint uses the Pen, Brush, and Shape defined in the control. Drawing methods in Canvas are called to render the desired Shape to a rectangle using the Width and Height defined in the component.
Paint calls the inherited Paint method to signal an OnPaint event handler assigned in the class instance.
|
The Pen to be used for drawing this shape. |
|
|
The Brush to be used for coloring this shape. |
|
|
TShapeType is an enumerated type with values representing standard geometric shapes. |
|
|
Implements the default handler used to draw the control. |
Version 3.2 | Generated 2024-02-25 | Home |