Graphics.PenHeight

From Xojo Documentation

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

Supported for all project types and targets.

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

Sample Code

This example draws a square that has a 5-point border:

g.PenHeight = 5.0
g.DrawRect(10, 10, 100, 100)