[Overview][Types][Classes][Procedures and functions][Index] |
Draws the shape for the control on its Canvas.
Source position: extctrls.pp line 297
public procedure TCustomShape.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 used to draw lines on the shaped control. |
|
|
The Brush used to fill the shaped control. |
|
|
TShapeType is an enumerated type with values representing standard geometric shapes. |
|
|
Implements the default handler used to draw the control. |
Version 4.0 | Generated 2025-05-03 | Home |