orient method

orient

Sets the ‘orient’ attribute of the SVG ‘marker’ element, specifying the orientation of the marker.

Returns

The current instance of SVGMarkerElementBuilder for method chaining.

def orient(self, auto):
    ...
ParameterTypeDescription
autoOrientThe orientation setting, either ‘auto’ or a specific angle.

orient

Sets the ‘orient’ attribute of the SVG ‘marker’ element, specifying the orientation angle of the marker.

Returns

The current instance of SVGMarkerElementBuilder for method chaining.

def orient(self, angle, unit):
    ...
ParameterTypeDescription
anglefloatThe angle of orientation.
unitAngleUnitsThe unit of measurement for the angle (default is degrees).

See Also