Class BoundingBox

    • Method Detail

      • height

        public final Float height()

        The height of the bounding box as a ratio of the overall document page height.

        Returns:
        The height of the bounding box as a ratio of the overall document page height.
      • left

        public final Float left()

        The left coordinate of the bounding box as a ratio of overall document page width.

        Returns:
        The left coordinate of the bounding box as a ratio of overall document page width.
      • top

        public final Float top()

        The top coordinate of the bounding box as a ratio of overall document page height.

        Returns:
        The top coordinate of the bounding box as a ratio of overall document page height.
      • width

        public final Float width()

        The width of the bounding box as a ratio of the overall document page width.

        Returns:
        The width of the bounding box as a ratio of the overall document page width.
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)