Class ImageCell<T extends org.apache.pdfbox.pdmodel.PDPage>

java.lang.Object
be.quodlibet.boxable.Cell<T>
be.quodlibet.boxable.ImageCell<T>

public class ImageCell<T extends org.apache.pdfbox.pdmodel.PDPage> extends Cell<T>
  • Method Details

    • scaleToFit

      public void scaleToFit()
    • getTextHeight

      public float getTextHeight()
      Description copied from class: Cell

      Gets Paragraph's height

      Overrides:
      getTextHeight in class Cell<T extends org.apache.pdfbox.pdmodel.PDPage>
      Returns:
      Paragraph's height
    • getHorizontalFreeSpace

      public float getHorizontalFreeSpace()
      Description copied from class: Cell

      Gets free horizontal space of cell.

      If cell has rotated value then free horizontal space is equal cell's inner width (Cell.getInnerWidth()) subtracted to the Paragraph's height otherwise it's just cell's Cell.getInnerWidth() subtracted with width of longest line in normal Paragraph.

      Overrides:
      getHorizontalFreeSpace in class Cell<T extends org.apache.pdfbox.pdmodel.PDPage>
      Returns:
      Free vertical space of the cell's.
    • getVerticalFreeSpace

      public float getVerticalFreeSpace()
      Description copied from class: Cell

      Gets free vertical space of cell.

      If cell has rotated value then free vertical space is equal inner cell's height (Cell.getInnerHeight()) subtracted to the longest line of rotated Paragraph otherwise it's just cell's inner height ( Cell.getInnerHeight()) subtracted with width of the normal Paragraph.

      Overrides:
      getVerticalFreeSpace in class Cell<T extends org.apache.pdfbox.pdmodel.PDPage>
      Returns:
      Free vertical space of the cell's.
    • getImage

      public Image getImage()

      Method which retrieve Image

      Returns:
      Image