Shape entity (make, clone, method)
Drag and drop shape entitys
Test purpose
- Create a shape entity
- Clone a shape
- Position the shape on the canvas
- Change the state of a subset of shapes sharing the same state object
- Check the various drawing methods available to the shape
- Kill and resurrect several entitys to make sure they remove themselves entirely from the Scrawl-canvas system, and cleanly recreate themselves from saved packets
Annotated code