From Xojo Documentation

Revision as of 17:43, 30 October 2020 by Gperlman (talk | contribs)
You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!

Property (As Graphics.LineJoinTypes )
aGraphics.LineJoin = newGraphics.LineJoinTypesValue
Graphics.LineJoinTypesValue = aGraphics.LineJoin

New in 2020r2

Supported for all project types and targets.

The way in which the end of the line will be drawn when connecting to another line.


Affects only lines drawn when using DrawPath and GraphicsPath. It will also affect how corners are drawn when using DrawRectangle.

Sample Code

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

g.LineJoin = Graphics.LineJoinTypes.Round

See Also

LineJoinTypes enumeration, LineCap property, DrawPath, DrawRectangle methods and GraphicsPath class.