-
Notifications
You must be signed in to change notification settings - Fork 0
Label
Label:new()
Label:new(String text)
Number getHorizontalAlignment()
Gets the horizontal alignment for the label. Default is LAH_Justify.
void setHorizontalAlignment(Number horizontalAlignment)
Sets the horizontal alignment for the label. Options are: LAH_Justify, LAH_Left, LAH_Center, and LAH_Right.
Number getVerticalAlignment()
Gets the vertical alignment for the label. Default is LAV_None.
void setVerticalAlignment(Number verticalAlignment)
Sets the vertical alignment for the label. Options are: LAV_None, LAV_Top, LAV_Center, and LAV_Bottom.
Boolean isBolded()
Gets whether the label is bolded. Default is false.
void setBolded(Boolean isBolded)
Sets whether the label is bolded.
Boolean isItalicized()
Gets whether the label is italicized. Default is false.
void setItalicized(Boolean isItalicized)
Sets whether the label is italicized.
Number getFontSize()
Gets the font size of the label. Default is 12.
void setFontSize(Number fontSize)
Sets the font size of the label.
String getText()
Gets the text of the label. Default is Loc_Empty().
void setText(String text)
Sets the text of the label. Options are: "$<LocStringID>", and "$<ModID>:<LocStringID>".
See Control