Vcl.Graphics.TPen.Destroy

From RAD Studio API Documentation
Jump to: navigation, search

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

Destroys an instance of TPen.

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.

See Also