UIImage

onclick

Type: event
Return: function
Description: fires when the image container is clicked

load

Type: function
Return: void
Description: load an image into the image container
Argument 1: string (file path)

id

Type: property (read/write)
Return: string
Description: an identifier for the image container

x

Type: property (read/write)
Return: int
Description: the x position of the image container

y

Type: property (read/write)
Return: int
Description: the y position of the image container

visible

Type: property (read/write)
Return: bool
Description: whether the image container is visible on the UI panel

hand

Type: property (read/write)
Return: bool
Description: whether the mouse pointer should become a hand when entering the image container

resize

Type: property (read/write)
Return: bool
Description: whether the image should be stretched to fit the image container

width

Type: property (read/write)
Return: int
Description: the width of the image container

height

Type: property (read/write)
Return: int
Description: the height of the image container

promote

Type: function
Return: void
Description: increase the z index of the image container

demote

Type: function
Return: void
Description: decrease the z index of the image container

Last edited Feb 6, 2014 at 1:55 PM by oobenoob, version 1