| VSK_Node.prototype.fx_morph = function( | w, | | h, | | x, | | y, | | t | ) |
|
The morph effect lets you grow and move a node in a smooth animation that can be usefull for popup effects or object sliding
Parameters
| <int w> | target width |
| <int h> | target height |
| <int x> | target position on x axis |
| <int y> | target position on y axis |
| int time | effect time (ms) |
Ommitting arguments
You can ommit any of the arguments by submitting them as null, so it is possible to only change the size or to only move a node as well.
Returns
| Object | the created effect object |