public final class MapDrawer
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
MapDrawer.TextSize |
Modifier and Type | Method and Description |
---|---|
void |
drawBoxMap(int left,
int top,
int right,
int bottom,
Color color) |
void |
drawBoxMap(int left,
int top,
int right,
int bottom,
Color color,
boolean isSolid) |
void |
drawBoxMap(Position topLeft,
Position bottomRight,
Color color) |
void |
drawBoxMap(Position topLeft,
Position bottomRight,
Color color,
boolean isSolid) |
void |
drawBoxScreen(int left,
int top,
int right,
int bottom,
Color color) |
void |
drawBoxScreen(int left,
int top,
int right,
int bottom,
Color color,
boolean isSolid) |
void |
drawBoxScreen(Position topLeft,
Position bottomRight,
Color color) |
void |
drawBoxScreen(Position topLeft,
Position bottomRight,
Color color,
boolean isSolid) |
void |
drawCircleMap(int x,
int y,
int radius,
Color color) |
void |
drawCircleMap(int x,
int y,
int radius,
Color color,
boolean isSolid) |
void |
drawCircleMap(Position p,
int radius,
Color color) |
void |
drawCircleMap(Position p,
int radius,
Color color,
boolean isSolid) |
void |
drawLineMap(int x1,
int y1,
int x2,
int y2,
Color color) |
void |
drawLineMap(Position a,
Position b,
Color color) |
void |
drawLineScreen(int x1,
int y1,
int x2,
int y2,
Color color) |
void |
drawLineScreen(Position a,
Position b,
Color color) |
void |
drawTextMap(int x,
int y,
java.lang.String text) |
void |
drawTextMap(Position position,
java.lang.String text) |
void |
drawTextScreen(int x,
int y,
java.lang.String text) |
void |
drawTextScreen(Position position,
java.lang.String text) |
boolean |
isEnabled() |
void |
setEnabled(boolean enabled)
Globally enable or disable drawing on the map.
|
void |
setTextSize(MapDrawer.TextSize textSize) |
public void setEnabled(boolean enabled)
enabled
- true if drawing is enabled, false else.public boolean isEnabled()
public void drawCircleMap(int x, int y, int radius, Color color)
public void drawCircleMap(int x, int y, int radius, Color color, boolean isSolid)
public void drawBoxMap(Position topLeft, Position bottomRight, Color color, boolean isSolid)
public void drawBoxMap(int left, int top, int right, int bottom, Color color)
public void drawBoxMap(int left, int top, int right, int bottom, Color color, boolean isSolid)
public void drawBoxScreen(Position topLeft, Position bottomRight, Color color, boolean isSolid)
public void drawBoxScreen(int left, int top, int right, int bottom, Color color)
public void drawBoxScreen(int left, int top, int right, int bottom, Color color, boolean isSolid)
public void drawLineMap(int x1, int y1, int x2, int y2, Color color)
public void drawTextMap(Position position, java.lang.String text)
public void drawTextMap(int x, int y, java.lang.String text)
public void drawTextScreen(Position position, java.lang.String text)
public void drawTextScreen(int x, int y, java.lang.String text)
public void setTextSize(MapDrawer.TextSize textSize)
public void drawLineScreen(int x1, int y1, int x2, int y2, Color color)