monks/marker_end

The marker-end CSS property points to a marker that will be drawn on the last vertex of the element’s path; that is, at its ending vertex. The marker must have been defined using an SVG {{SVGElement(‘marker’)}} element, and can only be referenced with a {{cssxref(“url_value”, “<url>”)}} value. The value of the CSS property overrides any values of the marker-end attribute in the SVG.

For many marker-supporting shapes, the first and last vertices are the same point: for example, the top left corner of a {{SVGElement(‘rect’)}}. In such shapes, if both the first and last markers are defined, two markers will be drawn at that point, though they may not face the same direction.

The marker-end property will only have an effect for elements that can use SVG markers. See {{SVGAttr(“marker-end”)}} for a list.

Values

pub const inherit: #(String, String)
pub const initial: #(String, String)
pub const none: #(String, String)
  • : This means no marker will be drawn at the last vertex of the element’s path.
pub fn raw(value: String) -> #(String, String)

Enter a raw string value for marker-end

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

Search Document