Class AbstractTextCell

    • Field Detail

      • textColor

        protected Color textColor
      • lineSpacing

        protected float lineSpacing
    • Constructor Detail

      • AbstractTextCell

        public AbstractTextCell()
    • Method Detail

      • getFont

        public org.apache.pdfbox.pdmodel.font.PDFont getFont()
      • getFontSize

        public Integer getFontSize()
      • getTextColor

        public Color getTextColor()
      • getText

        public abstract String getText()
      • getMinHeight

        public float getMinHeight()
      • getTextHeight

        public float getTextHeight()
        Calculates the cell's text's height in respect when horizontally printed/rendered.
        Returns:
        the height of the cell's text taking into account spacing and line breaks
      • getWidthOfText

        public float getWidthOfText()
      • getMaxWidth

        public float getMaxWidth()