public interface IGraphics
| Modifier and Type | Method and Description |
|---|---|
void |
backgroundColor(float r,
float g,
float b,
float a) |
void |
backgroundColor(int color) |
void |
bindColor(float r,
float g,
float b,
float a) |
void |
bindColor(int color) |
void |
describeItem(IGameInstance game,
IAssetManager manager,
ItemInstance instance) |
void |
drawHoverInfo(IGameInstance game,
IAssetManager manager,
float x,
float y,
float scale,
boolean firstLineOffset,
boolean canLeaveScreen,
int maxLength,
java.util.List<java.lang.String> text) |
void |
drawHoverInfoAtMouse(IGameInstance game,
IAssetManager manager,
boolean firstLineOffset,
int maxLength,
java.util.List<java.lang.String> text) |
void |
drawHoverInfoAtMouse(IGameInstance game,
IAssetManager manager,
boolean firstLineOffset,
int maxLength,
java.lang.String... text) |
void |
drawRect(float x,
float y,
float width,
float height,
float lineWidth,
int color) |
void |
drawRect(float x,
float y,
float width,
float height,
int color) |
void |
fillRect(float x,
float y,
float width,
float height,
int color) |
void |
popMatrix() |
void |
pushMatrix() |
void |
renderItemInGui(IGameInstance game,
IAssetManager manager,
ItemInstance slot,
float x,
float y,
float scale,
int color) |
void |
renderSlotInGui(IGameInstance game,
IAssetManager manager,
ItemInstance slot,
float x,
float y,
float scale,
boolean hovered) |
void |
rotate(float angle) |
void |
scale(float scaleX,
float scaleY) |
void |
translate(float x,
float y) |
void renderSlotInGui(IGameInstance game, IAssetManager manager, ItemInstance slot, float x, float y, float scale, boolean hovered)
void renderItemInGui(IGameInstance game, IAssetManager manager, ItemInstance slot, float x, float y, float scale, int color)
void describeItem(IGameInstance game, IAssetManager manager, ItemInstance instance)
void drawHoverInfoAtMouse(IGameInstance game, IAssetManager manager, boolean firstLineOffset, int maxLength, java.lang.String... text)
void drawHoverInfoAtMouse(IGameInstance game, IAssetManager manager, boolean firstLineOffset, int maxLength, java.util.List<java.lang.String> text)
void drawHoverInfo(IGameInstance game, IAssetManager manager, float x, float y, float scale, boolean firstLineOffset, boolean canLeaveScreen, int maxLength, java.util.List<java.lang.String> text)
void pushMatrix()
void popMatrix()
void bindColor(int color)
void bindColor(float r,
float g,
float b,
float a)
void backgroundColor(int color)
void backgroundColor(float r,
float g,
float b,
float a)
void scale(float scaleX,
float scaleY)
void translate(float x,
float y)
void rotate(float angle)
void drawRect(float x,
float y,
float width,
float height,
int color)
void drawRect(float x,
float y,
float width,
float height,
float lineWidth,
int color)
void fillRect(float x,
float y,
float width,
float height,
int color)