Class OverlayUtil


  • public class OverlayUtil
    extends Object
    • Constructor Detail

      • OverlayUtil

        public OverlayUtil()
    • Method Detail

      • renderPolygon

        public static void renderPolygon​(Graphics2D graphics,
                                         Shape poly,
                                         Color color)
      • renderMinimapLocation

        public static void renderMinimapLocation​(Graphics2D graphics,
                                                 net.runelite.api.Point mini,
                                                 Color color)
      • renderMinimapRect

        @Deprecated
        public static void renderMinimapRect​(net.runelite.api.Client client,
                                             Graphics2D graphics,
                                             net.runelite.api.Point center,
                                             int width,
                                             int height,
                                             Color color)
        Deprecated.
      • renderTextLocation

        public static void renderTextLocation​(Graphics2D graphics,
                                              net.runelite.api.Point txtLoc,
                                              String text,
                                              Color color)
      • renderImageLocation

        public static void renderImageLocation​(net.runelite.api.Client client,
                                               Graphics2D graphics,
                                               net.runelite.api.coords.LocalPoint localPoint,
                                               BufferedImage image,
                                               int zOffset)
      • renderImageLocation

        public static void renderImageLocation​(Graphics2D graphics,
                                               net.runelite.api.Point imgLoc,
                                               BufferedImage image)
      • renderActorOverlay

        public static void renderActorOverlay​(Graphics2D graphics,
                                              net.runelite.api.Actor actor,
                                              String text,
                                              Color color)
      • renderActorOverlayImage

        public static void renderActorOverlayImage​(Graphics2D graphics,
                                                   net.runelite.api.Actor actor,
                                                   BufferedImage image,
                                                   Color color,
                                                   int zOffset)
      • renderTileOverlay

        public static void renderTileOverlay​(Graphics2D graphics,
                                             net.runelite.api.TileObject tileObject,
                                             String text,
                                             Color color)
      • renderTileOverlay

        public static void renderTileOverlay​(net.runelite.api.Client client,
                                             Graphics2D graphics,
                                             net.runelite.api.coords.LocalPoint localLocation,
                                             BufferedImage image,
                                             Color color)
      • renderHoverableArea

        public static void renderHoverableArea​(Graphics2D graphics,
                                               Shape area,
                                               net.runelite.api.Point mousePosition,
                                               Color fillColor,
                                               Color borderColor,
                                               Color borderHoverColor)
      • setGraphicProperties

        public static void setGraphicProperties​(Graphics2D graphics)