Scrawl-canvas v8
- Canvas test 042
Canvas entity clip regions
Clip entity
Block
Phrase
Wheel
──────────
Cog
Oval
Polygon
Polyline
Rectangle
Shape
Spiral
Star
Tetragon
Test purpose
Create a series of Scrawl-canvas entity objects that use 'clip' as their stamping method
Load and use an image to be used as a Picture entity
Check that the clipped entitys successfully limit the Picture entity to filling in the currently selected entity's shape.
Make sure that the clip region is removed at the end of each display cycle (by using a delta roll animation on the clipping entity)
Annotated code