monks/stroke_dasharray
The stroke-dasharray CSS property defines a pattern of dashes and gaps used in the painting of the SVG shape’s stroke. If present, it overrides the element’s {{SVGAttr(“stroke-dasharray”)}} attribute.
This property applies to any SVG shape or text-content element (see {{SVGAttr(“stroke-dasharray”)}} 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.
Values
pub fn length(value: monks_of_style.Length) -> #(String, String)
length value of stroke-dasharray
pub const none: #(String, String)
- : The stroke will be drawn without any dashes. The default value.
pub fn raw(value: String) -> #(String, String)
Enter a raw string value for stroke-dasharray
pub const revert_layer: #(String, String)