[Overview][Types][Classes][Index] Reference for unit 'LazCanvas' (#lcl)

TLazCanvasState.Destroy

Destructor for the class instance.

Declaration

Source position: lazcanvas.pas line 77

public destructor TLazCanvasState.Destroy; override;

Description

Destroy is the overridden destructor for the class instance. Destroy ensures that resources allocated for the Brush and Pen properties are freed before the class instance is destroyed. Destroy calls the inherited destructor prior to exiting from the method.

See also

TLazCanvasState.Brush

  

Brush for the canvas.

TLazCanvasState.Pen

  

Pen for the canvas.


Version 4.0 Generated 2025-05-03 Home