Graphics.PenSize

From Xojo Documentation

Property (As Double )
aGraphics.PenSize = newDoubleValue
or
DoubleValue = aGraphics.PenSize

New in 2019r2

Supported for all project types and targets.

The size in points used when drawing lines, ovals and rectangles.

Sample Code

This example sets the PenSize to 5 point:

g.PenSize = 5
g.DrawRectangle(150, 10, 100, 100)