Canvas Animation Library

map1 Library Method

Short Description: Animate mapped rectangular portion of texture canvas

Signature: t.map1 (s,t,w,h)
Group: Texture
Class: transition Class

This method is used to animate the texture. The parameters have the same meaining as with map. map1 defines the end of the animation, while map defines the begin of the animation.


var"testimg"); a.map1(a.x,a.y,a.w,a.h/2); a.start(); RUN
var a=taccgl.a("pgMiddleColumnTable").paint(); var"testimg");,a.y,a.w,b.h).map1(a.x,a.y+a.h-b.h,a.w,b.h).dur(4).to(b.x,b.y,2000).start();
var a=taccgl.a("testimg").paint();"pgMiddleColumnTable").map1(a.x,a.y,a.w,a.h).start(); RUN
Next Page:transition.mapA - Set end point of texture animation to start point
Previous Page: - Map rectangular portion of texture canvas