[Overview][Types][Classes][Index] |
[Properties (by Name)] [Methods (by Name)] [Events (by Name)]
Contains properties reflecting the state for a Lazarus canvas.
Source position: lazcanvas.pas line 68
type TLazCanvasState = class |
||
public |
||
Brush: TFPCustomBrush; |
|
Brush for the canvas. |
Pen: TFPCustomPen; |
|
Pen for the canvas. |
Font: TFPCustomFont; |
|
Font for the canvas. |
|
Base window origin for the canvas. |
|
|
Window origin for the canvas. |
|
Clipping: Boolean; |
|
Indicates if Clipping is enabled for the canvas. |
ClipRegion: TFPCustomRegion; |
|
Defines the clipping region for the canvas. |
destructor Destroy; override; |
|
Destructor for the class instance. |
end; |
|
Contains properties reflecting the state for a Lazarus canvas. |
|
| | ||
TObject |
TLazCanvasState is a class with public members that reflect the state for a TLazCanvas instance. A destructor is provided to ensure that resources allocated to members variables are freed before the class instance is destroyed.
Instances of TLazCanvasState are created, stored, and retrieved using an internal list in TLazCanvas in its SaveState and RestoreState methods.
|
Saves the current canvas state in the GraphicStateList member. |
|
|
Restores the canvas to the state stored at the specified position. |
|
|
Brush assigned to the canvas. |
|
|
Font assigned to the canvas. |
|
|
Pen assigned to the canvas. |
|
|
Base window origin for the canvas. |
|
|
Window origin for the canvas. |
Version 3.2 | Generated 2024-02-25 | Home |