Class Image

An image.

Usage:

     -- Create a image
     local image = Image(0, 0, "/path/to/image.png")

Constructor

Image:_init (x, y, image, scale) Constructs a new Image.


Constructor

Image:_init (x, y, image, scale)
Constructs a new Image.

Parameters:

  • x The x coordinate of the new component, relative to its parent.
  • y The y coordinate of the new component, relative to its parent.
  • image The path to the image.
  • scale (Optional) Factor to scale the image by.
generated by LDoc 1.4.3 Last updated 2015-02-10 07:20:59