[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'Graphics' (#lcl)

TCanvas.Destroy

Destructor for the class instance.

Declaration

Source position: graphics.pp line 1064

public destructor TCanvas.Destroy; override;

Description

Destroy is the destructor for TCanvas. It frees handles and regions, and calls the inherited Destroy, sets font, pen and brush resources to nil TCanvas and makes its resources available.

The latest version of this document can be found at lazarus-ccr.sourceforge.net.