Class ImageLayer
Object
|
+--Layer
|
+--ImageLayer
- class
ImageLayer
- extends Layer
The Image Layer can load images of various formats: PNG, JPG, BMP, GIF and more
Defined in FreejScripting.js
Author: Sam Lantinga (SDL_image)
Constructor Summary |
ImageLayer()
This constructor is used to create new instances of this layer,
It will be then possible to load an image file using the open() method
|
Method Summary |
void
|
open(<string> file_name)
Open an image file to be displayed in the ImageLayer
|
Methods inherited from class Layer |
activate, deactivate, up, down, move, get_name, get_filename, set_blit, get_blit, set_blit_value, get_blit_value, set_position, slide_position, get_x_position, get_y_position, get_width, get_height, add_filter, rem_filter, rotate, zoom, spin, list_filters
|
ImageLayer
ImageLayer()
This constructor is used to create new instances of this layer,
It will be then possible to load an image file using the open() method
Returns:
a new allocated Image Layer
Author: Sam Lantinga (SDL_image)
open
void open(<string> file_name)
Open an image file to be displayed in the ImageLayer
Parameters:
file_name
- full path to the image to be opened
FreeJ scripting documentation is Copyleft (C) 2000 - 2007 dyne.org foundation. Verbatim copying and distribution of this entire page is permitted in any medium, provided this notice is preserved.
Send inquiries & questions to dyne.org's hackers.
Documentation generated by
JSDoc on Thu May 29 20:56:52 2008