MNGuiImage class ​
No description available
Functions ​
mnscript
MNGuiImage.DockBottom()
- Docks the element to the bottom.
mnscript
MNGuiImage.DockFill()
- Docks the element to fill.
mnscript
MNGuiImage.DockLeft()
- Docks the element to the left.
mnscript
MNGuiImage.DockRight()
- Docks the element to the right.
mnscript
MNGuiImage.DockTop()
- Docks the element to the top.
mnscript
bool MNGuiImage.GetEnabled()
- Returns whether the UI element is enabled.
- Returns whether the UI element is valid.
mnscript
MNGuiImage.Remove()
- Removes the UI element.
mnscript
MNGuiImage.SetBackgroundColor(Color)
- Sets the UI element background color.
mnscript
MNGuiImage.SetDockMargin(number, number, number, number)
- Sets the UI element dock margin.
mnscript
MNGuiImage.SetEnabled(bool)
- Sets whether the UI element is enabled.
- Sets the height of the UI element.
- Sets the position of the UI element.
mnscript
MNGuiImage.SetRounded(number)
- Sets the roundedness.
mnscript
MNGuiImage.SetScalePos(number, number)
- Sets the position of the UI element using a percentage (0-1).
mnscript
MNGuiImage.SetScaleSize(number, number)
- Sets the size of the UI element using a percentage (0-1).
- Sets the width and height of the UI element.
- Sets the image Url. This should be a direct image link, E.G: https://i.imgur.com/jTJVvpa.jpeg
- Sets the width of the UI element.