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 voidrenderActorOverlay(Graphics2D graphics, Actor actor, String text, Color color)static voidrenderActorOverlayImage(Graphics2D graphics, Actor actor, BufferedImage image, Color color, int zOffset)static voidrenderHoverableArea(Graphics2D graphics, Shape area, Point mousePosition, Color fillColor, Color borderColor, Color borderHoverColor)static voidrenderImageLocation(Graphics2D graphics, Point imgLoc, BufferedImage image)static voidrenderImageLocation(Client client, Graphics2D graphics, LocalPoint localPoint, BufferedImage image, int zOffset)static voidrenderMinimapLocation(Graphics2D graphics, Point mini, Color color)static voidrenderMinimapRect(Client client, Graphics2D graphics, Point center, int width, int height, Color color)Deprecated.static voidrenderPolygon(Graphics2D graphics, Shape poly, Color color)static voidrenderPolygon(Graphics2D graphics, Shape poly, Color color, Color fillColor, Stroke borderStroke)static voidrenderPolygon(Graphics2D graphics, Shape poly, Color color, Stroke borderStroke)static voidrenderTextLocation(Graphics2D graphics, Point txtLoc, String text, Color color)static voidrenderTileOverlay(Graphics2D graphics, TileObject tileObject, String text, Color color)static voidrenderTileOverlay(Client client, Graphics2D graphics, LocalPoint localLocation, BufferedImage image, Color color)static voidsetGraphicProperties(Graphics2D graphics)static PointtransformPosition(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)
-
-