Trace out a Shape path over time
Test purpose
- Create an arrow Shape entity
- Setup the entity's stroke line to use a dash (lineDash array)
- By manipulating the entity's lineDashOffset value, check that we can create the illusion of a line being drawn around the entity's border
- Automate the animation using a tween
- Check that we can change the entity's roll and scale attributes while the tween plays
Touch test: not required
Annotated code