Vcl.Graphics.TPen.Destroy
Delphi
destructor Destroy; override;
C++
__fastcall virtual ~TPen();
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
destructor | public | Vcl.Graphics.pas Vcl.Graphics.hpp |
Vcl.Graphics | TPen |
Description
Do not call Destroy directly from an application. Instead, call Free. Free verifies that the TPen reference is not nil, and only then calls Destroy.Destroy frees the resource identified by the Handle property.