Package noppes.npcs.api.gui
Interface ILabel
-
- All Superinterfaces:
ICustomGuiComponent
public interface ILabel extends ICustomGuiComponent
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetHeight()floatgetScale()booleangetShadow()java.lang.StringgetText()intgetWidth()ILabelsetScale(float scale)voidsetShadow(boolean shadow)ILabelsetSize(int width, int height)ILabelsetText(java.lang.String text)-
Methods inherited from interface noppes.npcs.api.gui.ICustomGuiComponent
fromNBT, getAlpha, getColor, getHoverText, getID, getPosX, getPosY, getRotation, hasHoverText, setAlpha, setColor, setHoverText, setHoverText, setID, setPos, setRotation, toNBT
-
-
-
-
Method Detail
-
getText
java.lang.String getText()
-
setText
ILabel setText(java.lang.String text)
-
getWidth
int getWidth()
-
getHeight
int getHeight()
-
setSize
ILabel setSize(int width, int height)
-
getScale
float getScale()
-
setScale
ILabel setScale(float scale)
-
getShadow
boolean getShadow()
-
setShadow
void setShadow(boolean shadow)
-
-