Methods
eventRegister(f, names)
setup events for this set
This:
- {WSet}
Parameters:
Name | Type | Description |
---|---|---|
f |
function | callback. Callback should receive the type of the event. |
names |
object | of events to register. supported are: click, mouseover, mouseout, mousemove, mouseup, mousedown. |
- Source:
forEach() → {anything}
wrapper for the Raphael.js method of the same name.
Pass anything you want to raphael.
This:
- {WSet}
- Source:
Returns:
anything that Raphael.js returns from this method.
- Type
- anything
glow(glow_obj) → {set}
make a set glow
This:
- {WSet}
Parameters:
Name | Type | Description |
---|---|---|
glow_obj |
object | parameters to pass to the Raphael.js glow method. |
- Source:
Returns:
the set of glow objects.
- Type
- set
initialize(set, wrapper) → {WSet}
This:
- {WSet}
Parameters:
Name | Type | Description |
---|---|---|
set |
set | the raphael set that this wraps. |
wrapper |
wrapper | the raphael wrapper (with paper and all). |
- Source:
Returns:
a new instance of this class.
- Type
- WSet
push() → {anything}
wrapper for the Raphael.js method of the same name.
Pass anything you want to raphael.
This:
- {WSet}
- Source:
Returns:
anything that Raphael.js returns from this method.
- Type
- anything
remove() → {anything}
wrapper for the Raphael.js method of the same name.
Pass anything you want to raphael.
This:
- {WSet}
- Source:
Returns:
anything that Raphael.js returns from this method.
- Type
- anything