Interface BoundingBox


public interface BoundingBox
Represents a rectangular area within a rendition.
  • Method Summary

    Modifier and Type
    Method
    Description
    Retrieve the height of the rectangular area.
    Retrieves the X coordinate of the position of the top-left of the rectangular area, measured in pixels at 72 DPI.
    Retrieves the Y coordinate of the position of the top-left of the rectangular area, measured in pixels at 72 DPI.
    Retrieve the width of the rectangular area.
  • Method Details

    • getTopLeftX

      BigDecimal getTopLeftX()
      Retrieves the X coordinate of the position of the top-left of the rectangular area, measured in pixels at 72 DPI. If null, represents the left-most side of the page the box is associated with.
      Returns:
      X coordinate value
    • getTopLeftY

      BigDecimal getTopLeftY()
      Retrieves the Y coordinate of the position of the top-left of the rectangular area, measured in pixels at 72 DPI. If null, represents the top-most side of the page the box is associated with.
      Returns:
      Y coordinate value
    • getWidth

      BigDecimal getWidth()
      Retrieve the width of the rectangular area.
      Returns:
      width of the rectangular area
    • getHeight

      BigDecimal getHeight()
      Retrieve the height of the rectangular area.
      Returns:
      height of the rectangular area