Class Screen
- java.lang.Object
-
- com.runemate.game.api.hybrid.local.Screen
-
public final class Screen extends java.lang.Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.awt.image.BufferedImage
capture()
Captures the contents of RuneScape's canvas.static InteractableRectangle
getBounds()
static InteractablePoint
getLocation()
Gets the location of the game's canvas on the screen.static boolean
isFixedMode()
-
-
-
Method Detail
-
getLocation
@Nullable public static InteractablePoint getLocation()
Gets the location of the game's canvas on the screen.
-
getBounds
@Nullable public static InteractableRectangle getBounds()
-
capture
@Nullable public static java.awt.image.BufferedImage capture()
Captures the contents of RuneScape's canvas. This does not work as expected when using an OpenGL graphics mode.
-
isFixedMode
public static boolean isFixedMode()
-
-