Module org.sejda.sambox
Class AppearanceStyle
java.lang.Object
org.sejda.sambox.pdmodel.interactive.annotation.layout.AppearanceStyle
Define styling attributes to be used for text formatting.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidSet the font to be used for text formatting.voidsetFontSize(float fontSize) Set the font size to be used for formatting.
-
Constructor Details
-
AppearanceStyle
public AppearanceStyle()
-
-
Method Details
-
setFont
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.
-