Vcl.Direct2D.TDirect2DCanvas.Pen
Delphi
property Pen: TDirect2DPen read GetPen write SetPen;
C++
__property TDirect2DPen* Pen = {read=GetPen, write=SetPen};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | public | Vcl.Direct2D.pas Vcl.Direct2D.hpp |
Vcl.Direct2D | TDirect2DCanvas |
Description
Specifies the kind of pen the canvas uses for drawing lines and outlining shapes.
Set Pen to specify the pen to use for drawing lines and outlining shapes in the image. The value of Pen is a TDirect2DPen object. Set the properties of the TDirect2DPen object to specify the color, style, width, and mode of the pen.
Setting the Pen property assigns the specified TDirect2DPen object, instead of replacing the current TDirect2DPen object.