Graphics.PenWidth
From Xojo Documentation
This item was deprecated in version 2019r2. Please use Graphics.PenSize as a replacement. |
Property (As Double )
aGraphics.PenWidth = newDoubleValue
or
DoubleValue = aGraphics.PenWidth
Supported for all project types and targets.
or
DoubleValue = aGraphics.PenWidth
Supported for all project types and targets.
The width in points used when drawing lines, ovals and rectangles.
Sample Code
This example sets the PenWidth to 5 and the PenHeight to 1 point:
g.PenHeight = 1.0
g.PenWidth = 5
g.DrawRect(150, 10, 100, 100)
g.PenWidth = 5
g.DrawRect(150, 10, 100, 100)