new_drawerο
- draw.new_drawer(layer=None, dynamic=True)ο
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.
dynamic (bool) β If True, shapes are added as dynamic artists to avoid re-drawing the background after the draw is finished. If False, the shapes are added as background-artists.
- Returns:
A new instance of the ShapeDrawer that can be used to draw shapes.
- Return type: