Class Coordinate

java.lang.Object
com.regula.documentreader.api.results.Coordinate

public class Coordinate extends Object
structure describing point coordinate
  • Field Details

    • x

      public int x
      x axis value
    • y

      public int y
      y axis value
  • Constructor Details

    • Coordinate

      public Coordinate()
    • Coordinate

      public Coordinate(int x, int y)
  • Method Details

    • toJsonObject

      public JSONObject toJsonObject()
    • toJson

      public String toJson()
      Method convert object to string in json format
      Returns:
      string in json format
    • fromJson

      public static Coordinate fromJson(String json)
    • fromJson

      public static Coordinate fromJson(JSONObject object)