HTML5+CSS on Canvas 3D WebGL (TM) Library
 

test2 Library Method

Short Description: Show test pattern

Signature: f.test2 ()
Class: taccglFlexiBorder Class
 

This is a test method to illustrate working of flexiBorder. flexiBorder approximates approximates the object by splitting it into parts, vertical, horizontal or circular. Using test2 only every second part is drawn. This way it becomes visible how the spitting is done.

Examples

var a=taccgl.actor("testimg",taccgl.flexiBorder).Circle1(); a.resize(null,null,a.h,a.h).
flyOut(a.x+(a.w-a.h)/2,a.y,0).nparts(10).test2().start();
RUN
var a=taccgl.actor("testimg",taccgl.flexiBorder).Circle1(); a.resize(null,null,a.h,a.h).
flyOut(a.x+(a.w-a.h)/2,a.y,0).nparts(10).circular().test2().start();
RUN
var a=taccgl.actor("testimg",taccgl.flexiBorder).RelRect1().test2().start();
RUN
var a=taccgl.actor("testimg",taccgl.flexiBorder).RelRect1().circular().test2().start();
RUN

WebGL™ is a trademark of the Khronos Group Inc.

Next Page:taccglFlexiBorder.borderFun0 - Function defining initial border
Previous Page: taccglFlexiBorder.circular - Approximate Circular