Class WorldMapOverlay
- java.lang.Object
-
- net.runelite.client.ui.overlay.Overlay
-
- net.runelite.client.ui.overlay.worldmap.WorldMapOverlay
-
- All Implemented Interfaces:
LayoutableRenderableEntity
,RenderableEntity
@Singleton public class WorldMapOverlay extends Overlay
-
-
Field Summary
-
Fields inherited from class net.runelite.client.ui.overlay.Overlay
PRIORITY_DEFAULT, PRIORITY_HIGH, PRIORITY_HIGHEST, PRIORITY_LOW, PRIORITY_MED
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Point
mapWorldPointToGraphicsPoint(WorldPoint worldPoint)
Get the screen coordinates for a WorldPoint on the world mapDimension
render(Graphics2D graphics)
-
Methods inherited from class net.runelite.client.ui.overlay.Overlay
addMenuEntry, addMenuEntry, drawAfterInterface, drawAfterLayer, drawAfterLayer, drawAfterLayer, getBounds, getDrawHooks, getLayer, getMenuEntries, getMinimumSize, getName, getParentBounds, getPlugin, getPosition, getPreferredLocation, getPreferredPosition, getPreferredSize, getPriority, isDragTargetable, isMovable, isResettable, isResizable, isSnappable, onDrag, onMouseOver, removeMenuEntry, revalidate, setBounds, setDragTargetable, setLayer, setMinimumSize, setMovable, setPosition, setPreferredLocation, setPreferredPosition, setPreferredSize, setPriority, setPriority, setResettable, setResizable, setSnappable
-
-
-
-
Method Detail
-
render
public Dimension render(Graphics2D graphics)
-
mapWorldPointToGraphicsPoint
public Point mapWorldPointToGraphicsPoint(WorldPoint worldPoint)
Get the screen coordinates for a WorldPoint on the world map- Parameters:
worldPoint
- WorldPoint to get screen coordinates of- Returns:
- Point of screen coordinates of the center of the world point
-
-