Uses of Class
net.runelite.api.coords.LocalPoint
-
Packages that use LocalPoint Package Description net.runelite.api net.runelite.api.coords net.runelite.api.events -
-
Uses of LocalPoint in net.runelite.api
Methods in net.runelite.api that return LocalPoint Modifier and Type Method Description LocalPoint
Client. getLocalDestinationLocation()
Gets the location of the local player.LocalPoint
Actor. getLocalLocation()
Gets the client-side location of the actor.LocalPoint
Tile. getLocalLocation()
Gets the local coordinate of the tile.LocalPoint
TileObject. getLocalLocation()
Get the local location for this object.LocalPoint
GraphicsObject. getLocation()
The location of the object.LocalPoint
RuneLiteObjectController. getLocation()
LocalPoint
AmbientSoundEffect. getMaxPosition()
The max x/y position of the area this sound effect is atLocalPoint
AmbientSoundEffect. getMinPosition()
The min x/y position of the area this sound effect is at.LocalPoint
Projectile. getTarget()
Get the target point of the projectile.Methods in net.runelite.api with parameters of type LocalPoint Modifier and Type Method Description 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 Point
Perspective. getMiniMapImageLocation(Client client, LocalPoint localLocation, BufferedImage image)
Calculates image position and centers depending on image size.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, 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.void
Client. setHintArrow(LocalPoint point)
Sets the hint arrow to the passsed pointvoid
RuneLiteObject. setLocation(LocalPoint point, int level)
Sets the location in the scene for the RuneLiteObjectvoid
RuneLiteObjectController. setLocation(LocalPoint point, int level)
Sets the location in the scene for the RuneLiteObjectController -
Uses of LocalPoint in net.runelite.api.coords
Methods in net.runelite.api.coords that return LocalPoint Modifier and Type Method Description LocalPoint
LocalPoint. dx(int dx)
LocalPoint
LocalPoint. dy(int dy)
static LocalPoint
LocalPoint. fromScene(int x, int y)
Deprecated.static LocalPoint
LocalPoint. fromScene(int x, int y, Scene scene)
Gets the coordinate at the center of the passed tile.static LocalPoint
LocalPoint. fromScene(int x, int y, WorldView wv)
Gets the coordinate at the center of the passed tile.static LocalPoint
LocalPoint. fromWorld(Client client, int x, int y)
Deprecated.static LocalPoint
LocalPoint. fromWorld(Client client, WorldPoint world)
Deprecated.static LocalPoint
LocalPoint. fromWorld(Scene scene, int x, int y)
Gets the local coordinate at the center of the passed tile.static LocalPoint
LocalPoint. fromWorld(WorldView wv, int x, int y)
Gets the local coordinate at the center of the passed tile.static LocalPoint
LocalPoint. fromWorld(WorldView wv, WorldPoint world)
Gets the local coordinate at the center of the passed tile.LocalPoint
LocalPoint. plus(int dx, int dy)
Methods in net.runelite.api.coords with parameters of type LocalPoint Modifier and Type Method Description int
LocalPoint. distanceTo(LocalPoint other)
Gets the distance between this point and another.static WorldPoint
WorldPoint. fromLocal(Client client, LocalPoint local)
Gets the coordinate of the tile that contains the passed local point.static WorldPoint
WorldPoint. fromLocalInstance(Client client, LocalPoint localPoint)
Gets the coordinate of the tile that contains the passed local point, accounting for instances.static WorldPoint
WorldPoint. fromLocalInstance(Client client, LocalPoint localPoint, int plane)
Gets the coordinate of the tile that contains the passed local point, accounting for instances.static WorldPoint
WorldPoint. fromLocalInstance(Scene scene, LocalPoint localPoint, int plane)
Gets the coordinate of the tile that contains the passed local point, accounting for instances. -
Uses of LocalPoint in net.runelite.api.events
Methods in net.runelite.api.events that return LocalPoint Modifier and Type Method Description LocalPoint
ProjectileMoved. getPosition()
The target location of the projectile.Methods in net.runelite.api.events with parameters of type LocalPoint Modifier and Type Method Description void
ProjectileMoved. setPosition(LocalPoint position)
The target location of the projectile.
-