Skip to content

MNGuiLabel class ​

No description available

Functions ​

mnscript
MNGuiLabel.DockBottom() 
  • Docks the element to the bottom.
mnscript
MNGuiLabel.DockFill() 
  • Docks the element to fill.
mnscript
MNGuiLabel.DockLeft() 
  • Docks the element to the left.
mnscript
MNGuiLabel.DockRight() 
  • Docks the element to the right.
mnscript
MNGuiLabel.DockTop() 
  • Docks the element to the top.
mnscript
bool MNGuiLabel.GetEnabled() 
  • Returns whether the UI element is enabled.
mnscript
bool MNGuiLabel.IsValid() 
  • Returns whether the UI element is valid.
mnscript
MNGuiLabel.Remove() 
  • Removes the UI element.
mnscript
MNGuiLabel.SetBackgroundColor(Color) 
  • Sets the UI element background color.
mnscript
MNGuiLabel.SetDockMargin(number, number, number, number) 
  • Sets the UI element dock margin.
mnscript
MNGuiLabel.SetEnabled(bool) 
  • Sets whether the UI element is enabled.
mnscript
MNGuiLabel.SetFont(string) 
  • Sets the label font.
mnscript
MNGuiLabel.SetFontSize(number) 
  • Sets the label font size (10-100).
mnscript
MNGuiLabel.SetHeight(number) 
  • Sets the height of the UI element.
mnscript
MNGuiLabel.SetPos(number, number) 
  • Sets the position of the UI element.
mnscript
MNGuiLabel.SetRounded(number) 
  • Sets the roundedness.
mnscript
MNGuiLabel.SetScalePos(number, number) 
  • Sets the position of the UI element using a percentage (0-1).
mnscript
MNGuiLabel.SetScaleSize(number, number) 
  • Sets the size of the UI element using a percentage (0-1).
mnscript
MNGuiLabel.SetSize(number, number) 
  • Sets the width and height of the UI element.
mnscript
MNGuiLabel.SetText(string) 
  • Sets the label text.
mnscript
MNGuiLabel.SetTextColor(Color) 
  • Sets the label text color.
mnscript
MNGuiLabel.SetWidth(number) 
  • Sets the width of the UI element.
mnscript
MNGuiLabel.TextAlignCenter() 
  • Aligns the text center.
mnscript
MNGuiLabel.TextAlignLeft() 
  • Aligns the text left.
mnscript
MNGuiLabel.TextAlignRight() 
  • Aligns the text right.