Vcl.Graphics.TPen.Create

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

constructor Create;

C++

__fastcall TPen();

Properties

Type Visibility Source Unit Parent
constructor public
Vcl.Graphics.pas
Vcl.Graphics.hpp
Vcl.Graphics TPen

Description

Creates an instance of TPen.

Call Create to create a TPen object for assigning the pen property of a canvas. The pen for the canvas is created automatically in the constructor for the TCanvas object.

Create allocates memory for the TPen object and initializes the Mode property to pmCopy.

See Also