All Implemented Interfaces:
HasHandlers

public class Point extends RefDataClass
X/Y position in pixels, specified as an Array with two members, for example: [30, 50]
  • Constructor Details

    • Point

      public Point()
    • Point

      public Point(JavaScriptObject jsObj)
    • Point

      public Point(int x, int y)
    • Point

      public Point(double x, double y)
  • Method Details

    • getOrCreateRef

      public static Point getOrCreateRef(JavaScriptObject jsObj)
    • getX

      public int getX()
      The x coordinate of this point.
      Returns:
      int
    • getXAsDouble

      public double getXAsDouble()
      The x coordinate of this point.
      Returns:
      double
    • getY

      public int getY()
      The y coordinate of this point.
      Returns:
      int
    • getYAsDouble

      public double getYAsDouble()
      The y coordinate of this point.
      Returns:
      double