Package noppes.npcs.api.gui
Interface ITexturedRect
-
- All Superinterfaces:
ICustomGuiComponent
public interface ITexturedRect extends ICustomGuiComponent
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
getHeight()
float
getScale()
java.lang.String
getTexture()
int
getTextureX()
int
getTextureY()
int
getWidth()
ITexturedRect
setScale(float scale)
ITexturedRect
setSize(int width, int height)
ITexturedRect
setTexture(java.lang.String texture)
ITexturedRect
setTextureOffset(int textureX, int textureY)
-
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
-
getTexture
java.lang.String getTexture()
-
setTexture
ITexturedRect setTexture(java.lang.String texture)
-
getWidth
int getWidth()
-
getHeight
int getHeight()
-
setSize
ITexturedRect setSize(int width, int height)
-
getScale
float getScale()
-
setScale
ITexturedRect setScale(float scale)
-
getTextureX
int getTextureX()
-
getTextureY
int getTextureY()
-
setTextureOffset
ITexturedRect setTextureOffset(int textureX, int textureY)
-
-