java.lang.Object
org.apache.pdfbox.pdmodel.interactive.annotation.layout.AppearanceStyle

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

    • AppearanceStyle

      public AppearanceStyle()
  • Method Details

    • 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.