Specifies the kind of pen (or stroke brush in FMX) 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 RSGdiPlusGraphics.TRSGPPen object. Set the properties of the TRSGPPen object to specify the color, fill, style, width, and mode of the pen.
Note |
---|
Setting the Pen property assigns the specified TRSGPPen object, rather than replacing the current TRSPPen object. |
Note |
---|
The Stroke and Pen property refer to the same TRSGPPen object. Use either one which is more compatible with your code from VCL or FMX |
Namespace: RSGdiPlusGraphics
Delphi |
published |
Property Value
Type: TRSGPPen