Class AppearanceStyle


  • public class AppearanceStyle
    extends java.lang.Object
    Define styling attributes to be used for text formatting.
    • Constructor Summary

      Constructors 
      Constructor Description
      AppearanceStyle()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void setFont​(PDFont font)
      Set the font to be used for text formatting.
      void setFontSize​(float fontSize)
      Set the font size to be used for formatting.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AppearanceStyle

        public AppearanceStyle()
    • Method Detail

      • setFont

        public void setFont​(PDFont font)
        Set the font to be used for text formatting.
        Parameters:
        font - the font to be used.
      • setFontSize

        public void setFontSize​(float fontSize)
        Set the font size to be used for formatting.
        Parameters:
        fontSize - the font size.