Skip to content

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.
mnscript
bool MNGuiImage.IsValid() 
  • 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.
mnscript
MNGuiImage.SetHeight(number) 
  • Sets the height of the UI element.
mnscript
MNGuiImage.SetPos(number, number) 
  • 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).
mnscript
MNGuiImage.SetSize(number, number) 
  • Sets the width and height of the UI element.
mnscript
MNGuiImage.SetUrl(string) 
mnscript
MNGuiImage.SetWidth(number) 
  • Sets the width of the UI element.