Class Image

This Component holds image data.

Methods

Image:Image (_url[, initialAlignment=Alignment.TopLeft]) Image constructor.

Properties

self.Url.get () Returns the Image's filepath, made stylesheet appropriate.
self.RawUrl.get () Returns the Image's filepath.
self.Alignment.get () Returns the Image's Alignment.
self.Alignment.set (value) Sets the Image's Alignment.
self.Stylesheet.get () Updates and returns the Image's stylesheet.


Methods

Image:Image (_url[, initialAlignment=Alignment.TopLeft])
Image constructor.

Parameters:

  • _url string The filepath of the image used by the Image Component.
  • initialAlignment Alignment The Alignment of the Image within the Frame. (default Alignment.TopLeft)

Returns:

    Image

Properties

self.Url.get ()
Returns the Image's filepath, made stylesheet appropriate.

Other Components use this property, instead of Stylesheet.

Returns:

    string
self.RawUrl.get ()
Returns the Image's filepath.

Returns:

    string
self.Alignment.get ()
Returns the Image's Alignment.

Returns:

    Alignment
self.Alignment.set (value)
Sets the Image's Alignment.

Parameters:

self.Stylesheet.get ()
Updates and returns the Image's stylesheet.

Returns:

    string
generated by LDoc 1.4.6 Last updated 2017-11-15 22:27:55