format_shape method

format_shape

This function is called before rendering of shape to SVG to allow user to control resulting SVG.

def format_shape(self, svg_shape, shape):
    ...
ParameterTypeDescription
svg_shapeISvgShapeObject to control SVG shape generation.
shapeIShapeSource shape.

See Also