Click or drag to resize
CanvasLineJoin Enumeration
Describes the shape that joins two lines or segments.

Namespace:  Microsoft.Graphics.Canvas.Geometry
Assembly:  Microsoft.Graphics.Canvas (in Microsoft.Graphics.Canvas.dll) Version:
public enum CanvasLineJoin
  Member nameValueDescription
Miter0Regular angular vertices.
Bevel1Beveled vertices.
Round2Rounded vertices.
MiterOrBevel3Regular angular vertices unless the join would extend beyond the miter limit; otherwise, beveled vertices.

A miter limit affects how sharp miter joins are allowed to be. If the line join style is MiterOrBevel, then the join will be mitered with regular angular vertices if it doesn't extend beyond the miter limit; otherwise, the line join will be beveled.

This illustration shows different line join settings for the same stroked path geometry.

CanvasLineJoin diagram
See Also