monks/stroke_miterlimit

The stroke-miterlimit CSS property defines a limit on the ratio of the miter length to the {{CSSxref(“stroke-width”) }} when the shape to be used at the corners of an SVG element’s stroked path is a mitered join. If the limit defined by this property is exceeded, the join is converted from miter to bevel, thus making the corner appear truncated.

This property applies to any SVG corner-generating shape or text-content element (see {{SVGAttr(“stroke-miterlimit”)}} for a full list), but as an inherited property, it may be applied to elements such as {{SVGElement(“g”)}} and still have the intended effect on descendant elements’ strokes. If present, it overrides the element’s {{SVGAttr(“stroke-miterlimit”)}} attribute.

Values

pub const inherit: #(String, String)
pub const initial: #(String, String)
pub fn raw(value: String) -> #(String, String)

Enter a raw string value for stroke-miterlimit

pub const revert: #(String, String)
pub const revert_layer: #(String, String)
pub const unset: #(String, String)
pub fn var(variable: String) -> #(String, String)

Enter a variable name to be used for stroke-miterlimit. It will be wrapped in var() and have -- prepended.

Search Document