Class PageLocationMetaResult

java.lang.Object
com.itextpdf.pdf2data.result.meta.PageLocationMetaResult

public class PageLocationMetaResult extends Object
Class representing page location metadata.
  • Constructor Details

    • PageLocationMetaResult

      public PageLocationMetaResult (Double x, Double y, Double width, Double height, Integer page)
      Creates an instance of page location metadata representation.
      Parameters:
      x - the x coordinate on the page
      y - the y coordinate on the page
      width - the width of the location
      height - the height of the location
      page - the page number
  • Method Details

    • getX

      public Double getX()
      Get X coordinate on the page.
      Returns:
      x coordinate value
    • getY

      public Double getY()
      The Y coordinate on the page.
      Returns:
      y coordinate value
    • getWidth

      public Double getWidth()
      Get width of the location.
      Returns:
      width value
    • getHeight

      public Double getHeight()
      Get height of the location.
      Returns:
      height value
    • getPage

      public Integer getPage()
      Get page number of the location.
      Returns:
      page number
    • equals

      public boolean equals (Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object