marker_units method

marker_units

Sets the ‘markerUnits’ attribute of the SVG ‘marker’ element, specifying the coordinate system for the marker’s attributes.

Returns

The current instance of SVGMarkerElementBuilder for method chaining.

def marker_units(self, units):
    ...
ParameterTypeDescription
unitsMarkerUnitsThe marker units, either ‘userSpaceOnUse’ or ‘strokeWidth’.

See Also