Show: Delphi
C++
Display Preferences
Vcl.Graphics.TPen
From XE2 API Documentation
Delphi
TPen = class(TGraphicsObject)
C++
class PASCALIMPLEMENTATION TPen : public TGraphicsObject
Contents |
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| class | public | Vcl.Graphics.pas Vcl.Graphics.hpp |
Vcl.Graphics | Vcl.Graphics |
Description
TPen is used to draw lines or outline shapes on a canvas.
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.