Package net.runelite.client.ui.overlay
Class OverlayUtil
- java.lang.Object
-
- net.runelite.client.ui.overlay.OverlayUtil
-
public class OverlayUtil extends Object
-
-
Constructor Summary
Constructors Constructor Description OverlayUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static void
renderActorOverlay(Graphics2D graphics, Actor actor, String text, Color color)
static void
renderActorOverlayImage(Graphics2D graphics, Actor actor, BufferedImage image, Color color, int zOffset)
static void
renderHoverableArea(Graphics2D graphics, Shape area, Point mousePosition, Color fillColor, Color borderColor, Color borderHoverColor)
static void
renderImageLocation(Graphics2D graphics, Point imgLoc, BufferedImage image)
static void
renderImageLocation(Client client, Graphics2D graphics, LocalPoint localPoint, BufferedImage image, int zOffset)
static void
renderMinimapLocation(Graphics2D graphics, Point mini, Color color)
static void
renderMinimapRect(Client client, Graphics2D graphics, Point center, int width, int height, Color color)
Deprecated.static void
renderPolygon(Graphics2D graphics, Shape poly, Color color)
static void
renderPolygon(Graphics2D graphics, Shape poly, Color color, Color fillColor, Stroke borderStroke)
static void
renderPolygon(Graphics2D graphics, Shape poly, Color color, Stroke borderStroke)
static void
renderTextLocation(Graphics2D graphics, Point txtLoc, String text, Color color)
static void
renderTileOverlay(Graphics2D graphics, TileObject tileObject, String text, Color color)
static void
renderTileOverlay(Client client, Graphics2D graphics, LocalPoint localLocation, BufferedImage image, Color color)
static void
setGraphicProperties(Graphics2D graphics)
static Point
transformPosition(OverlayPosition position, Dimension dimension)
-
-
-
Method Detail
-
renderPolygon
public static void renderPolygon(Graphics2D graphics, Shape poly, Color color)
-
renderPolygon
public static void renderPolygon(Graphics2D graphics, Shape poly, Color color, Stroke borderStroke)
-
renderPolygon
public static void renderPolygon(Graphics2D graphics, Shape poly, Color color, Color fillColor, Stroke borderStroke)
-
renderMinimapLocation
public static void renderMinimapLocation(Graphics2D graphics, Point mini, Color color)
-
renderMinimapRect
@Deprecated public static void renderMinimapRect(Client client, Graphics2D graphics, Point center, int width, int height, Color color)
Deprecated.
-
renderTextLocation
public static void renderTextLocation(Graphics2D graphics, Point txtLoc, String text, Color color)
-
renderImageLocation
public static void renderImageLocation(Client client, Graphics2D graphics, LocalPoint localPoint, BufferedImage image, int zOffset)
-
renderImageLocation
public static void renderImageLocation(Graphics2D graphics, Point imgLoc, BufferedImage image)
-
renderActorOverlay
public static void renderActorOverlay(Graphics2D graphics, Actor actor, String text, Color color)
-
renderActorOverlayImage
public static void renderActorOverlayImage(Graphics2D graphics, Actor actor, BufferedImage image, Color color, int zOffset)
-
renderTileOverlay
public static void renderTileOverlay(Graphics2D graphics, TileObject tileObject, String text, Color color)
-
renderTileOverlay
public static void renderTileOverlay(Client client, Graphics2D graphics, LocalPoint localLocation, BufferedImage image, Color color)
-
renderHoverableArea
public static void renderHoverableArea(Graphics2D graphics, Shape area, Point mousePosition, Color fillColor, Color borderColor, Color borderHoverColor)
-
setGraphicProperties
public static void setGraphicProperties(Graphics2D graphics)
-
transformPosition
public static Point transformPosition(OverlayPosition position, Dimension dimension)
-
-