Package net.runelite.client.plugins.fps
Class FpsOverlay
- java.lang.Object
-
- net.runelite.client.ui.overlay.Overlay
-
- net.runelite.client.plugins.fps.FpsOverlay
-
- All Implemented Interfaces:
LayoutableRenderableEntity
,RenderableEntity
public class FpsOverlay extends Overlay
The built in FPS overlay has a few problems that this one does not have, most of all: it is distracting. 1. The built in one also shows memory, which constantly fluctuates and garbage collects. It is useful for devs profiling memory. 2. The built in one shifts around constantly because it is not monospace. This locks "FPS:" into one position (the far top right corner of the canvas), along with a locked position for the FPS value.
-
-
Field Summary
-
Fields inherited from class net.runelite.client.ui.overlay.Overlay
PRIORITY_DEFAULT, PRIORITY_HIGH, PRIORITY_HIGHEST, PRIORITY_LOW, PRIORITY_MED
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Dimension
render(Graphics2D graphics)
-
Methods inherited from class net.runelite.client.ui.overlay.Overlay
addMenuEntry, addMenuEntry, drawAfterInterface, drawAfterLayer, drawAfterLayer, drawAfterLayer, getBounds, getDrawHooks, getLayer, getMenuEntries, getMinimumSize, getName, getParentBounds, getPlugin, getPosition, getPreferredLocation, getPreferredPosition, getPreferredSize, getPriority, isDragTargetable, isMovable, isResettable, isResizable, isSnappable, onDrag, onMouseOver, removeMenuEntry, revalidate, setBounds, setDragTargetable, setLayer, setMinimumSize, setMovable, setPosition, setPreferredLocation, setPreferredPosition, setPreferredSize, setPriority, setPriority, setResettable, setResizable, setSnappable
-
-
-
-
Method Detail
-
render
public Dimension render(Graphics2D graphics)
-
-