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:
Properties
- self.Url.get ()
-
Returns the Image's filepath, made stylesheet appropriate.
Other Components use this property, instead of Stylesheet.
Returns:
- self.RawUrl.get ()
-
Returns the Image's filepath.
Returns:
- self.Alignment.get ()
-
Returns the Image's Alignment.
Returns:
- self.Alignment.set (value)
-
Sets the Image's Alignment.
Parameters:
- value Alignment
- self.Stylesheet.get ()
-
Updates and returns the Image's stylesheet.
Returns: