Specifies the kind of pen (or stroke brush in FMX) the canvas uses for drawing lines and outlining shapes.
Set Stroke to specify the pen to use for drawing lines and outlining shapes in the image. The value of Stroke 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 Stroke 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 |
public |
Property Value
Type: TRSGPPen