Class WidgetOverlay

    • Field Detail

      • client

        protected final net.runelite.api.Client client
    • Method Detail

      • createOverlays

        public static java.util.Collection<WidgetOverlay> createOverlays​(OverlayManager overlayManager,
                                                                         net.runelite.api.Client client)
      • getName

        public java.lang.String getName()
        Description copied from class: Overlay
        Overlay name, used for saving the overlay, needs to be unique
        Overrides:
        getName in class Overlay
        Returns:
        overlay name
      • render

        public java.awt.Dimension render​(java.awt.Graphics2D graphics)
      • getParentBounds

        public java.awt.Rectangle getParentBounds()
        Description copied from class: Overlay
        Get the parent bounds for overlay dragging. The overlay will not be allowed to be moved outside of the parent bounds.
        Overrides:
        getParentBounds in class Overlay
        Returns: