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 LocalPointCameraFocusableEntity. getCameraFocus()LocalPointClient. getLocalDestinationLocation()Gets the location of the local player.LocalPointActor. getLocalLocation()Gets the client-side location of the actor.LocalPointTile. getLocalLocation()Gets the local coordinate of the tile.LocalPointTileObject. getLocalLocation()Get the local location for this object.LocalPointWorldEntity. getLocalLocation()Get the location of this world entity in the top level world.LocalPointGraphicsObject. getLocation()The location of the object.LocalPointRuneLiteObjectController. getLocation()LocalPointAmbientSoundEffect. getMaxPosition()The max x/y position of the area this sound effect is atLocalPointAmbientSoundEffect. getMinPosition()The min x/y position of the area this sound effect is at.LocalPointProjectile. getTarget()Deprecated.LocalPointWorldEntity. transformToMainWorld(LocalPoint point)Transform a point within the world entity to the overworldMethods in net.runelite.api with parameters of type LocalPoint Modifier and Type Method Description booleanWorldView. contains(LocalPoint point)Test if this worldview contains the given pointstatic PointPerspective. getCanvasImageLocation(Client client, LocalPoint localLocation, BufferedImage image, int zOffset)Calculates image position and centers depending on image size.static PointPerspective. getCanvasSpriteLocation(Client client, LocalPoint localLocation, SpritePixels sprite, int zOffset)Calculates sprite position and centers depending on sprite size.static PointPerspective. getCanvasTextLocation(Client client, Graphics2D graphics, LocalPoint localLocation, String text, int zOffset)Calculates text position and centers depending on string length.static PointPerspective. getCanvasTextMiniMapLocation(Client client, Graphics2D graphics, LocalPoint localLocation, String text)Calculates text position and centers on minimap depending on string length.static PolygonPerspective. getCanvasTileAreaPoly(Client client, LocalPoint localLocation, int size)Returns a polygon representing an area.static PolygonPerspective. getCanvasTileAreaPoly(Client client, LocalPoint localLocation, int sizeX, int sizeY, int level, int heightOffset)Returns a polygon representing an area.static PolygonPerspective. getCanvasTilePoly(Client client, LocalPoint localLocation)Calculates a tile polygon from offset worldToScreen() points.static PolygonPerspective. getCanvasTilePoly(Client client, LocalPoint localLocation, int zOffset)Calculates a tile polygon from offset worldToScreen() points.static intPerspective. getFootprintTileHeight(Client client, LocalPoint p, int level, int footprintSize)static PointPerspective. getMiniMapImageLocation(Client client, LocalPoint localLocation, BufferedImage image)Calculates image position and centers depending on image size.static intPerspective. getTileHeight(Client client, LocalPoint point, int plane)Calculates the above ground height of a tile point.static PointPerspective. 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 PointPerspective. localToCanvas(Client client, LocalPoint point, int plane, int heightOffset)Translates two-dimensional ground coordinates within the 3D world to their corresponding coordinates on the game screen.static PointPerspective. localToMinimap(Client client, LocalPoint point)Translates two-dimensional ground coordinates within the 3D world to their corresponding coordinates on the Minimap.static PointPerspective. localToMinimap(Client client, LocalPoint point, int distance)Translates two-dimensional ground coordinates within the 3D world to their corresponding coordinates on the Minimap.voidClient. setHintArrow(LocalPoint point)Sets the hint arrow to the passsed pointvoidRuneLiteObject. setLocation(LocalPoint point, int level)Sets the location in the scene for the RuneLiteObjectvoidRuneLiteObjectController. setLocation(LocalPoint point, int level)Sets the location in the scene for the RuneLiteObjectControllerLocalPointWorldEntity. transformToMainWorld(LocalPoint point)Transform a point within the world entity to the overworld -
Uses of LocalPoint in net.runelite.api.coords
Methods in net.runelite.api.coords that return LocalPoint Modifier and Type Method Description LocalPointLocalPoint. dx(int dx)LocalPointLocalPoint. dy(int dy)static LocalPointLocalPoint. fromScene(int x, int y)Deprecated.static LocalPointLocalPoint. fromScene(int x, int y, Scene scene)Gets the coordinate at the center of the passed tile.static LocalPointLocalPoint. fromScene(int x, int y, WorldView wv)Gets the coordinate at the center of the passed tile.static LocalPointLocalPoint. fromWorld(Client client, int x, int y)Deprecated.static LocalPointLocalPoint. fromWorld(Client client, WorldPoint point)static LocalPointLocalPoint. fromWorld(Scene scene, int x, int y)Gets the local coordinate at the center of the passed tile.static LocalPointLocalPoint. fromWorld(WorldView wv, int x, int y)Gets the local coordinate at the center of the passed tile.static LocalPointLocalPoint. fromWorld(WorldView wv, WorldPoint world)Gets the local coordinate at the center of the passed tile.LocalPointLocalPoint. plus(int dx, int dy)Methods in net.runelite.api.coords with parameters of type LocalPoint Modifier and Type Method Description intLocalPoint. distanceTo(LocalPoint other)Gets the distance between this point and another.static WorldPointWorldPoint. fromLocal(Client client, LocalPoint local)Gets the coordinate of the tile that contains the passed local point.static WorldPointWorldPoint. fromLocalInstance(Client client, LocalPoint localPoint)Gets the coordinate of the tile that contains the passed local point, accounting for instances.static WorldPointWorldPoint. fromLocalInstance(Client client, LocalPoint localPoint, int plane)Gets the coordinate of the tile that contains the passed local point, accounting for instances.static WorldPointWorldPoint. 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 LocalPointProjectileMoved. getPosition()The target location of the projectile.Methods in net.runelite.api.events with parameters of type LocalPoint Modifier and Type Method Description voidProjectileMoved. setPosition(LocalPoint position)The target location of the projectile.
-