static Point |
Perspective.getCanvasImageLocation(Client client,
LocalPoint localLocation,
BufferedImage image,
int zOffset) |
Calculates image position and centers depending on image size.
|
static Point |
Perspective.getCanvasSpriteLocation(Client client,
LocalPoint localLocation,
SpritePixels sprite,
int zOffset) |
Calculates sprite position and centers depending on sprite size.
|
static Point |
Perspective.getCanvasTextLocation(Client client,
Graphics2D graphics,
LocalPoint localLocation,
String text,
int zOffset) |
Calculates text position and centers depending on string length.
|
static Point |
Perspective.getCanvasTextMiniMapLocation(Client client,
Graphics2D graphics,
LocalPoint localLocation,
String text) |
Calculates text position and centers on minimap depending on string length.
|
static Polygon |
Perspective.getCanvasTileAreaPoly(Client client,
LocalPoint localLocation,
int size) |
Returns a polygon representing an area.
|
static Polygon |
Perspective.getCanvasTileAreaPoly(Client client,
LocalPoint localLocation,
int sizeX,
int sizeY,
int plane,
int zOffset) |
Returns a polygon representing an area.
|
static Polygon |
Perspective.getCanvasTilePoly(Client client,
LocalPoint localLocation) |
Calculates a tile polygon from offset worldToScreen() points.
|
static Polygon |
Perspective.getCanvasTilePoly(Client client,
LocalPoint localLocation,
int zOffset) |
Calculates a tile polygon from offset worldToScreen() points.
|
static Shape |
Perspective.getClickbox(Client client,
Model model,
int orientation,
int x,
int y,
int z) |
You don't want this.
|
static Point |
Perspective.getMiniMapImageLocation(Client client,
LocalPoint localLocation,
BufferedImage image) |
Calculates image position and centers depending on image size.
|
QuestState |
Quest.getState(Client client) |
|
static int |
Perspective.getTileHeight(Client client,
LocalPoint point,
int plane) |
Calculates the above ground height of a tile point.
|
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.
|
static void |
Perspective.modelToCanvas(Client client,
int end,
int x3dCenter,
int y3dCenter,
int z3dCenter,
int rotate,
float[] x3d,
float[] y3d,
float[] z3d,
int[] x2d,
int[] y2d) |
Translates a model's vertices into 2d space.
|