Sign in Join
FPDoc Onlineexperiment

TCustomShape.Destroy destructor

Member of TCustomShapepublicIn unit ExtCtrls

Destructor for the class instance.

Declaration

pascal
destructor Destroy; override

Description

Destroy is the overridden destructor for the class instance. It ensures that resources allocated in the class instance, including the Pen and Brush, are freed. It calls the inherited destructor prior to exit to free the Canvas and other resources allocated in ancestor classes.

See also

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