Class ParseRunOutputMetadataPagesItem


  • public final class ParseRunOutputMetadataPagesItem
    extends java.lang.Object
    • Method Detail

      • getNumber

        public int getNumber()
        Returns:
        The page number this entry describes.
      • getRotationApplied

        public java.util.Optional<java.lang.Integer> getRotationApplied()
        Returns:
        Degrees Extend rotated the page clockwise to make it upright. 0 if rotation detection ran and the page was already upright; null if rotation detection was disabled for this run.
      • getOriginalPageWidth

        public double getOriginalPageWidth()
        Returns:
        The file's true page width, independent of rendering resolution.
      • getOriginalPageHeight

        public double getOriginalPageHeight()
        Returns:
        The file's true page height, independent of rendering resolution.
      • getDpi

        public double getDpi()
        Returns:
        The DPI that boundingBox/polygon coordinates on this page are scaled to. Multiply originalPageWidth/originalPageHeight by dpi / 72 to convert them into that same coordinate space.
      • equals

        public boolean equals​(java.lang.Object other)
        Overrides:
        equals in class java.lang.Object
      • getAdditionalProperties

        public java.util.Map<java.lang.String,​java.lang.Object> getAdditionalProperties()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object