Class WorldMapPoint


  • public class WorldMapPoint
    extends Object
    • Method Detail

      • onEdgeSnap

        public void onEdgeSnap()
      • onEdgeUnsnap

        public void onEdgeUnsnap()
      • getWorldPoint

        public net.runelite.api.coords.WorldPoint getWorldPoint()
      • getTarget

        @Nullable
        public net.runelite.api.coords.WorldPoint getTarget()
        The WorldPoint which the worldmap will jump to when clicked
      • getImagePoint

        public net.runelite.api.Point getImagePoint()
        The point on the image that will be drawn at WorldPoint WorldMapPointManager will center the image if imagePoint is null
      • getClickbox

        public Rectangle getClickbox()
      • isSnapToEdge

        public boolean isSnapToEdge()
      • isCurrentlyEdgeSnapped

        public boolean isCurrentlyEdgeSnapped()
      • isJumpOnClick

        public boolean isJumpOnClick()
        Whether or not the map jumps to target, or worldPoint when the overlay is clicked
      • isTooltipVisible

        public boolean isTooltipVisible()
      • getTooltip

        public String getTooltip()
      • setWorldPoint

        public void setWorldPoint​(net.runelite.api.coords.WorldPoint worldPoint)
      • setTarget

        public void setTarget​(@Nullable
                              net.runelite.api.coords.WorldPoint target)
        The WorldPoint which the worldmap will jump to when clicked
      • setImagePoint

        public void setImagePoint​(net.runelite.api.Point imagePoint)
        The point on the image that will be drawn at WorldPoint WorldMapPointManager will center the image if imagePoint is null
      • setClickbox

        public void setClickbox​(Rectangle clickbox)
      • setSnapToEdge

        public void setSnapToEdge​(boolean snapToEdge)
      • setCurrentlyEdgeSnapped

        public void setCurrentlyEdgeSnapped​(boolean currentlyEdgeSnapped)
      • setJumpOnClick

        public void setJumpOnClick​(boolean jumpOnClick)
        Whether or not the map jumps to target, or worldPoint when the overlay is clicked
      • setTooltipVisible

        public void setTooltipVisible​(boolean tooltipVisible)
      • setTooltip

        public void setTooltip​(String tooltip)
      • canEqual

        protected boolean canEqual​(Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object