public interface PDFFont
Modifier and Type | Interface and Description |
---|---|
static class |
PDFFont.Style |
Modifier and Type | Method and Description |
---|---|
PDFFont |
deriveFont(float size)
Returns a new instance of this font but with the given size.
|
FontMetrics |
getFontMetrics()
Returns the FontMetrics which are used to describe the font.
|
java.lang.String |
getFontName()
Returns the name of the font.
|
float |
getSize()
Returns the current point size of the font.
|
PDFFont.Style |
getStyle()
Returns the style of the font.
|
FontMetrics getFontMetrics()
PDFFont deriveFont(float size)
size
- The point size of the new font.float getSize()
java.lang.String getFontName()
PDFFont.Style getStyle()