RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TPen.Create Constructor

Creates an instance of TPen.

Pascal
constructor Create;
C++
__fastcall 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. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!