Class Coordinate

java.lang.Object
net.storm.sdk.coords.Coordinate

public class Coordinate extends Object
Utility class for screen coordinate operations.

This class provides helper methods for manipulating 2D screen coordinates represented by Point objects.

See Also:
  • Point
  • Constructor Details

    • Coordinate

      public Coordinate()
  • Method Details

    • offsetFrom

      public static net.runelite.api.Point offsetFrom(net.runelite.api.Point point, int x, int y)
      Creates a new point offset from the given point by the specified amounts.

      This method does not modify the original point; it returns a new Point with the offset applied.

      Parameters:
      point - the original point to offset from
      x - the horizontal offset (positive = right, negative = left)
      y - the vertical offset (positive = down, negative = up)
      Returns:
      a new Point with the offset applied