Graphics.PenSize

From Xojo Documentation

Revision as of 15:30, 7 October 2019 by PLefebvre (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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)