LineJoin
The type for setting the shape used to join two line segments where they meet. See Canvas
for more details.
type LineJoin int
where values could be one of the following:
Value | Constant | Description |
---|---|---|
0 |
MiterJoin |
Connected segments are joined by extending their outside edges to connect at a single point, with the effect of filling an additional lozenge-shaped area. This setting is affected by the miterLimit property |
1 |
RoundJoin |
Rounds off the corners of a shape by filling an additional sector of disc centered at the common endpoint of connected segments. The radius for these rounded corners is equal to the line width |
2 |
BevelJoin |
Fills an additional triangular area between the common endpoint of connected segments, and the separate outside rectangular corners of each segment |