Class links.Network.Images
Images
This class loades images and keeps them stored.
Defined in: network.js.
Constructor Attributes | Constructor Name and Description |
---|---|
Method Attributes | Method Name and Description |
---|---|
load(url)
|
|
setOnloadCallback(callback)
Set an onload callback function.
|
Method Detail
{Image}
load(url)
- Parameters:
- {string} url
- Url of the image
- Returns:
- {Image} img The image object
setOnloadCallback(callback)
Set an onload callback function. This will be called each time an image
is loaded
- Parameters:
- {function} callback