new_drawer

ShapeDrawer.new_drawer(layer=None)

Initialize a new ShapeDrawer.

Parameters

layer (str) – The layer-name to put the shapes on. If None, the currently active layer will be used. The default is None.

Returns

A new instance of the ShapeDrawer that can be used to draw shapes.

Return type

ShapeDrawer