vegui. sk. ani. shadow.js

Allows you to add a static shadow effect to any HTML node

Dependencies

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

Summary
Allows you to add a static shadow effect to any HTML node
Adjust the node’s shadow node to the node’s position and size
Add shadow effect to the node

VSK_Node

Summary
Adjust the node’s shadow node to the node’s position and size
Add shadow effect to the node

Functions

fx_shadow_adjust

VSK_Node.prototype.fx_shadow_adjust = function()

Adjust the node’s shadow node to the node’s position and size

Returns

VSK_Nodeself

fx_shadow

VSK_Node.prototype.fx_shadow = function(t,
c,
oX,
oY)

Add shadow effect to the node

Effect Id

’shadow’

Parameters

int ttransparency value (percent)
string ccolor string (ie.  ‘#000000’ or ‘black’ for black)
int oXoffset X
int oYoffset Y

Returns

Objectthe created event object
VSK_Node.prototype.fx_shadow_adjust = function()
Adjust the node’s shadow node to the node’s position and size
VSK_Node.prototype.fx_shadow = function(t,
c,
oX,
oY)
Add shadow effect to the node
vegui.sk.std.js