nanome.api.shapes.shape module¶
-
class
Shape(shape_type)[source]¶ Bases:
objectBase class of a shape. Used in self.create_shape(shape_type) in plugins.Parameters: shape_type ( ShapeType) – Enumerator representing the shape_type to create-
anchors¶ - Anchors of the shape
Parameters: value (list of Anchor) – Anchors of the shape
-
color¶ - Color of the shape
Parameters: value ( Color) – Color of the shape
-
classmethod
destroy_multiple(shapes, done_callback=None)[source]¶ - Remove multiple shapes from the Nanome App and destroy them.
-
index¶ - Index of the shape
-