public class AppearanceStyle
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private PDFont |
font |
private float |
fontSize
The font size to be used for text formatting.
|
private float |
leading
The leading (distance between lines) to be used for text formatting.
|
Constructor and Description |
---|
AppearanceStyle() |
Modifier and Type | Method and Description |
---|---|
(package private) PDFont |
getFont()
Get the font used for text formatting.
|
(package private) float |
getFontSize()
Get the fontSize used for text formatting.
|
(package private) float |
getLeading()
Get the leading used for text formatting.
|
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.
|
(package private) void |
setLeading(float leading)
Set the leading used for text formatting.
|
private PDFont font
private float fontSize
private float leading
PDFont getFont()
public void setFont(PDFont font)
font
- the font to be used.float getFontSize()
public void setFontSize(float fontSize)
fontSize
- the font size.float getLeading()
void setLeading(float leading)
leading
- the leading to be used.