Point |
Actor.getCanvasImageLocation(BufferedImage image,
int zOffset) |
Gets the point at which an image should be drawn, relative to the
current location with the given z-axis offset.
|
static Point |
Perspective.getCanvasImageLocation(Client client,
LocalPoint localLocation,
BufferedImage image,
int zOffset) |
Calculates image position and centers depending on image size.
|
Point |
TileObject.getCanvasLocation() |
Calculates the position of the center of this tile on the canvas
|
Point |
TileObject.getCanvasLocation(int zOffset) |
Calculates the position of the center of this tile on the canvas
|
Point |
Actor.getCanvasSpriteLocation(SpritePixels sprite,
int zOffset) |
Gets the point at which a sprite should be drawn, relative to the
current location with the given z-axis offset.
|
static Point |
Perspective.getCanvasSpriteLocation(Client client,
LocalPoint localLocation,
SpritePixels sprite,
int zOffset) |
Calculates sprite position and centers depending on sprite size.
|
Point |
Actor.getCanvasTextLocation(Graphics2D graphics,
String text,
int zOffset) |
Gets the point at which text should be drawn, relative to the
current location with the given z-axis offset.
|
static Point |
Perspective.getCanvasTextLocation(Client client,
Graphics2D graphics,
LocalPoint localLocation,
String text,
int zOffset) |
Calculates text position and centers depending on string length.
|
Point |
TileObject.getCanvasTextLocation(Graphics2D graphics,
String text,
int zOffset) |
Calculates the canvas point to center text above the tile this object is on.
|
static Point |
Perspective.getCanvasTextMiniMapLocation(Client client,
Graphics2D graphics,
LocalPoint localLocation,
String text) |
Calculates text position and centers on minimap depending on string length.
|
static Point |
Perspective.getMiniMapImageLocation(Client client,
LocalPoint localLocation,
BufferedImage image) |
Calculates image position and centers depending on image size.
|
Point |
Actor.getMinimapLocation() |
Gets a point on the canvas of where this actors mini-map indicator
should appear.
|
Point |
TileObject.getMinimapLocation() |
Gets a point on the canvas of where this objects mini-map indicator
should appear.
|
Point |
Client.getMouseCanvasPosition() |
Gets the current position of the mouse on the canvas.
|
Point |
Tile.getSceneLocation() |
Gets the location coordinate of the tile in scene coords
|
Point |
GameObject.getSceneMaxLocation() |
Gets the maximum x and y scene coordinate pair for this game object.
|
Point |
GameObject.getSceneMinLocation() |
Gets the minimum x and y scene coordinate pair for this game object.
|
static Point |
Perspective.localToCanvas(Client client,
int x,
int y,
int z) |
Translates three-dimensional local coordinates within the 3D world to
their corresponding coordinates on the game screen.
|
static Point |
Perspective.localToCanvas(Client client,
LocalPoint point,
int plane) |
Translates two-dimensional ground coordinates within the 3D world to
their corresponding coordinates on the game screen.
|
static Point |
Perspective.localToCanvas(Client client,
LocalPoint point,
int plane,
int zOffset) |
Translates two-dimensional ground coordinates within the 3D world to
their corresponding coordinates on the game screen.
|
static Point |
Perspective.localToMinimap(Client client,
LocalPoint point) |
Translates two-dimensional ground coordinates within the 3D world to
their corresponding coordinates on the Minimap.
|
static Point |
Perspective.localToMinimap(Client client,
LocalPoint point,
int distance) |
Translates two-dimensional ground coordinates within the 3D world to
their corresponding coordinates on the Minimap.
|