This topic has not yet been rated - Rate this topic

miterLimit property

Gets or sets the maximum allowed ratio between half of the ICanvasRenderingContext2D::lineWidth value and the miter length.

HTML Canvas 2D Context, Section 6Internet Explorer 9

Syntax

HRESULT value = object.put_miterLimit( v);HRESULT value = object.get_miterLimit(* p);

Property values

Type: float

10

Default. If not explicitly set, this value defaults to 10.

A positive number

Zero, negative numbers, infinite numbers, and not a number (NaN) values are ignored.

Standards information

Remarks

The miter length is the distance from the point where two lines meet to the point where two lines that are drawn along the outer edges of the two lines would intersect. If the ratio of these values exceeds the ICanvasRenderingContext2D::miterLimit value, a ICanvasRenderingContext2D::lineJoin miter style is not drawn.

 

 

Build date: 11/12/2012

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.