Interface IContainerRenderer

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void decreaseCursorY​(float offset)
      Decrease (move down) the current cursor y position by the given offset.
      float getCursorY()
      Returns the current cursor y position.
      org.apache.pdfbox.pdmodel.common.PDRectangle getRect()
      Returns the rectangle of the current page.
      void handleExceedY()
      Handle the case that the current cursor y position is exceed the rectangle of the current page.
      boolean isExceedY​(float offset)
      Returns whether the current cursor y position with the given offset is exceed the rectangle of the current page.
    • Method Detail

      • getRect

        org.apache.pdfbox.pdmodel.common.PDRectangle getRect()
        Returns the rectangle of the current page.
        Returns:
        the rectangle of the current page.
      • getCursorY

        float getCursorY()
        Returns the current cursor y position.
        Returns:
        the current cursor y position.
      • decreaseCursorY

        void decreaseCursorY​(float offset)
        Decrease (move down) the current cursor y position by the given offset.
        Parameters:
        offset - the y offset to decrease.
      • isExceedY

        boolean isExceedY​(float offset)
        Returns whether the current cursor y position with the given offset is exceed the rectangle of the current page.
        Parameters:
        offset - the y offset to check.
        Returns:
        whether exceed the rectangle of the current page.
      • handleExceedY

        void handleExceedY()
                    throws java.io.IOException
        Handle the case that the current cursor y position is exceed the rectangle of the current page.
        Throws:
        java.io.IOException - if an I/O error occurs.