Graphics.LineCap

From Xojo Documentation

Revision as of 21:01, 30 October 2020 by Gperlman (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!

Property (As Graphics.LineCapTypes )
aGraphics.LineCap = newGraphics.LineCapTypesValue
or
Graphics.LineCapTypesValue = aGraphics.LineCap

New in 2020r2

Supported for all project types and targets.

The way in which the end of the line will be drawn.

Notes

Affects only lines drawn when using DrawPath, GraphicsPath and Object2D.

Sample Code

In the Paint event of a Canvas, set the line cap to round:

g.LineCap = Graphics.LineCapTypes.Round

See Also

LineCapTypes enumeration and LineJoin property.