monks/stroke_dashoffset

The stroke-dashoffset CSS property defines an offset for the starting point of the rendering of an SVG element’s associated dash array. If present, it overrides the element’s {{SVGAttr(“stroke-dashoffset”)}} attribute.

This property applies to any SVG shape or text-content element (see {{SVGAttr(“stroke-dashoffset”)}} 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 const inherit: #(String, String)
pub const initial: #(String, String)
pub fn length(value: monks_of_style.Length) -> #(String, String)

length value of stroke-dashoffset

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

Enter a raw string value for stroke-dashoffset

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-dashoffset. It will be wrapped in var() and have -- prepended.

Search Document