Graphics.PenWidth

From Xojo Documentation

Property (As Double )
aGraphics.PenWidth = newDoubleValue
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)