Export (0) Print
Expand All

lineJoin property

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

HTML Canvas 2D Context, Section 6Internet Explorer 9

 

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.

 

 

Community Additions

ADD
Show:
© 2014 Microsoft