Shape.StrokeMiterLimit Property

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Gets or sets a limit on the ratio of the miter length to half the StrokeThickness of a Shape element.

Namespace: System.Windows.Shapes
Assembly: System.Windows (in System.Windows.dll)
XMLNS for XAML: Not mapped to an xmlns.

Syntax

Public Property StrokeMiterLimit As Double
public double StrokeMiterLimit { get; set; }
<object StrokeMiterLimit="double"/>

Property Value

Type: System..::.Double
The limit on the ratio of the miter length to the StrokeThickness of a Shape element. This value is always a positive number that is greater than or equal to 1.

Remarks

Dependency property identifier field: StrokeMiterLimitProperty

A miter forms a corner by beveling the ends of two joined lines. When two line segments meet at a small angle (sharp angle), the miter may extend beyond the thickness of the line that strokes the path.

Generally you should use integral numeric values for this property. Nonintegral values can cause subpixel rendering, and may alter the apparent color of the stroke.

Version Information

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Platforms

Windows Phone

See Also

Reference

Shape Class

System.Windows.Shapes Namespace

Stroke