[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
A clipped window into the parent Canvas.
Source position: controls.pp line 2301
public property TGraphicControl.Canvas : TCanvas |
Don't paint on the entire Canvas! Instead use the dimensions of the TGraphicControl stored in the ClientRect.
If you ask for the Canvas.Width or Canvas.Height, you are actually getting the Parent control's Canvas dimensions.
|
Size of the client area of the control. |
|
|
The width of the client area of the control. |
|
|
The height of the client area of the control. |
|
|
TCanvas represents a drawing surface which might be attached to a visual control which might be displayed on the screen or to an offscreen bitmap. It contains a number of drawing functions. |
|
|
The TopLeft and BottomRight of the control, in client coordinates. |
lazarus-ccr.sourceforge.net |