Graphics.PenSize

From Xojo Documentation

Revision as of 21:24, 4 June 2019 by Gperlman (talk | contribs)

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)