RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TPen Class

TPen is used to draw lines or outline shapes on a canvas.

Pascal
TPen = class(TGraphicsObject);
C++
class TPen : public TGraphicsObject;

Graphics

Use TPen to describe the attributes of a Windows pen when drawing an image to a canvas (TCanvas). TPen encapsulates the pen properties that are selected into the device context of the canvas. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!