public interface RenderContext
| Modifier and Type | Method and Description |
|---|---|
void |
drawBackground(ColorRGB backgroundColor) |
void |
drawImage(Image image,
int x,
int y,
Transform transform) |
void |
drawRect(Rect rect,
ColorRGB color,
Transform transform) |
default void |
drawSprite(Sprite sprite,
int x,
int y,
Transform transform) |
void |
drawText(java.lang.String text,
BitmapFont font,
int x,
int y) |
int |
getCanvasHeight() |
int |
getCanvasWidth() |
int getCanvasWidth()
int getCanvasHeight()
void drawBackground(ColorRGB backgroundColor)
void drawText(java.lang.String text,
BitmapFont font,
int x,
int y)