lineJoin property

Gets or sets the type of corner that is created when two lines meet.

 

Syntax

object.put_lineJoin(
            string
           sJoinStyle);object.get_lineJoin(
            string
          * sJoinStyle);

Property values

Type: string

bevel

A filled triangle connects the two lines that are joined, creating a beveled corner.

round

A filled arc connects the two lines, creating a rounded corner.

miter

Default. The outside edges of the lines are continued until they intersect and the resulting triangle is filled, creating a sharp or pointed corner.

Standards information

Remarks

The miter option is affected by the ICanvasRenderingContext2D::miterLimit property.