HTML5 Canvas 3D WebGL (TM) js Library
 

clipA Library Method

Short Description: Clipping Animation

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:Texture
Previous Page: transition.restrict - Take part of Object
Please Add a Comment or Question, click here!