vegui. sk. ani. morph.js

Dependencies

vegui.sk.std.js vegui.sk.ani.js

Summary
The morph effect lets you grow and move a node in a smooth animation that can be usefull for popup effects or object sliding

VSK_Node

Summary
The morph effect lets you grow and move a node in a smooth animation that can be usefull for popup effects or object sliding

Functions

fx_morph

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 timeeffect 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

Objectthe created effect object
vegui.sk.std.js
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