UNPKG

qcobjects-docs

Version:

The official app and website for documentation of QCObjects

19 lines (12 loc) 447 B
#### org.quickcorp.tools.effects.RotateZ Rotates an object in Z axis. ##### Usage: ```javascript (new RotateZ()).apply(element, angleFrom, angleTo) ``` **angleFrom** and **angleTo** represent an angle value expressed in degrees, starting from 0 (zero) to 360. ##### Example: ```javascript // the next line will rotate in Z axis the div called #id from 0 degrees to 60 degrees Tag('div#id').map(div => (new RotateZ()).apply(div, 0, 60)); ```