miterLimit property
Gets or sets the maximum allowed ratio between half of the ICanvasRenderingContext2D::lineWidth value and the miter length.
![]() ![]() |
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
- HTML Canvas 2D Context, Section 6
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

