Condividi tramite


Shape.StrokeMiterLimit Property

Microsoft Silverlight will reach end of support after October 2021. Learn more.

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)

Syntax

'Declaration
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

Silverlight

Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.