stroke-miterlimit property
Sets or retrieves a value that indicates the limit on the ratio of the length of miter joins (as specified in the strokeLinejoin property).
![]() ![]() |
Syntax
stroke-miterlimit: inherit
Property values
inherit-
The property takes the same computed value as the property for the element's parent.
CSS information
| Applies To | shapes and text content elements |
|---|---|
| Media | visual |
| Inherited | 1 |
| Initial Value | 4 |
Standards information
Remarks
As of Microsoft Edge, this presentation attribute is animatable with CSS Animations and CSS Transitions.
The ratio of miter length (distance between the outer tip and the inner corner of the miter) to strokeWidth is directly related to the angle (theta) between the segments in user space by the formula: miterLength / stroke-width = 1 / sin ( theta / 2 )
See also
- CSSStyleDeclaration
- currentStyle
- style
- SVGCircleElement
- SVGEllipseElement
- SVGLineElement
- SVGPathElement
- SVGPolygonElement
- SVGPolylineElement
- SVGRectElement
- SVGTextElement
- SVGTextPathElement
- SVGTSpanElement
- Reference
- stroke
- strokeDasharray
- strokeDashoffset
- strokeLinecap
- strokeLinejoin
- strokeOpacity
- strokeWidth
Show:

