HTML5 Canvas 3D WebGL (TM) javaScript Library
 

clipA Library Method

Signature: t.clipA (w0,h0,w1,h1)
Group: Shape
Class: transition Class
 

Performs a clipping animation. Initially only the part of the object is shown that fits in the size (w0,h0). During the amination an increasing (or decreasing) part of the object is shown up to the final size (w1,h1).

Examples

var a=taccgl.actor("testimg"); a.clipA (0,0,a.wx0,a.hy0); a.start();
RUN

WebGL™ is a trademark of the Khronos Group Inc.

Next Page:Blog
Previous Page: