Canvas Animation Library
 

Multi Face Class

A multiface transition animates an object having multiple rectangular faces, e.g. a box. An HTML element can be mapped on each of the faces. The number size and position of the individual faces can be arbitrary. Using the newFace method faces can be added. Later on using selFace a face can be selected for further operations.

The MultiFace Class has an important subclass taccglDddBox Class which stands for rectangular boxes with 6 faces. The documentation and examples are useful for MultiFace as well.

The MultiFace Class inherits from Transition Class and so all e.g. the methods for controlling movement can be used. In addition specific methods are:

Next Page:taccglMultiFace.newFace - Add new face
Previous Page: taccglFlexiBorder.cont