Sign in Join
FPDoc Onlineexperiment

TLazCanvasState class

In unit LazCanvas

Contains properties reflecting the state for a Lazarus canvas.

Declaration

pascal
TLazCanvasState = class

Description

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.

See also

Methods

DestroypublicDestructor for the class instance.

Fields

BrushpublicBrush for the canvas.
PenpublicPen for the canvas.
FontpublicFont for the canvas.
BaseWindowOrgpublicBase window origin for the canvas.
WindowOrgpublicWindow origin for the canvas.
ClippingpublicIndicates if Clipping is enabled for the canvas.
ClipRegionpublicDefines the clipping region for the canvas.

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.