Class OverlayUtil


  • public class OverlayUtil
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      OverlayUtil()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void renderActorOverlay​(java.awt.Graphics2D graphics, net.runelite.api.Actor actor, java.lang.String text, java.awt.Color color)  
      static void renderActorOverlayImage​(java.awt.Graphics2D graphics, net.runelite.api.Actor actor, java.awt.image.BufferedImage image, java.awt.Color color, int zOffset)  
      static void renderHoverableArea​(java.awt.Graphics2D graphics, java.awt.Shape area, net.runelite.api.Point mousePosition, java.awt.Color fillColor, java.awt.Color borderColor, java.awt.Color borderHoverColor)  
      static void renderImageLocation​(java.awt.Graphics2D graphics, net.runelite.api.Point imgLoc, java.awt.image.BufferedImage image)  
      static void renderImageLocation​(net.runelite.api.Client client, java.awt.Graphics2D graphics, net.runelite.api.coords.LocalPoint localPoint, java.awt.image.BufferedImage image, int zOffset)  
      static void renderMinimapLocation​(java.awt.Graphics2D graphics, net.runelite.api.Point mini, java.awt.Color color)  
      static void renderMinimapRect​(net.runelite.api.Client client, java.awt.Graphics2D graphics, net.runelite.api.Point center, int width, int height, java.awt.Color color)  
      static void renderPolygon​(java.awt.Graphics2D graphics, java.awt.Shape poly, java.awt.Color color)  
      static void renderPolygon​(java.awt.Graphics2D graphics, java.awt.Shape poly, java.awt.Color color, java.awt.Color fillColor, java.awt.Stroke borderStroke)  
      static void renderPolygon​(java.awt.Graphics2D graphics, java.awt.Shape poly, java.awt.Color color, java.awt.Stroke borderStroke)  
      static void renderTextLocation​(java.awt.Graphics2D graphics, net.runelite.api.Point txtLoc, java.lang.String text, java.awt.Color color)  
      static void renderTileOverlay​(java.awt.Graphics2D graphics, net.runelite.api.TileObject tileObject, java.lang.String text, java.awt.Color color)  
      static void renderTileOverlay​(net.runelite.api.Client client, java.awt.Graphics2D graphics, net.runelite.api.coords.LocalPoint localLocation, java.awt.image.BufferedImage image, java.awt.Color color)  
      static void setGraphicProperties​(java.awt.Graphics2D graphics)  
      static java.awt.Point transformPosition​(OverlayPosition position, java.awt.Dimension dimension)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • OverlayUtil

        public OverlayUtil()
    • Method Detail

      • renderPolygon

        public static void renderPolygon​(java.awt.Graphics2D graphics,
                                         java.awt.Shape poly,
                                         java.awt.Color color)
      • renderPolygon

        public static void renderPolygon​(java.awt.Graphics2D graphics,
                                         java.awt.Shape poly,
                                         java.awt.Color color,
                                         java.awt.Stroke borderStroke)
      • renderPolygon

        public static void renderPolygon​(java.awt.Graphics2D graphics,
                                         java.awt.Shape poly,
                                         java.awt.Color color,
                                         java.awt.Color fillColor,
                                         java.awt.Stroke borderStroke)
      • renderMinimapLocation

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

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

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

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

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

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

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

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

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

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

        public static void setGraphicProperties​(java.awt.Graphics2D graphics)
      • transformPosition

        public static java.awt.Point transformPosition​(OverlayPosition position,
                                                       java.awt.Dimension dimension)