Modifier and Type | Class and Description |
---|---|
static class |
PDFFontStandard.PDFFontFamily |
PDFFont.Style
Constructor and Description |
---|
PDFFontStandard(PDFFontStandard.PDFFontFamily family,
PDFFont.Style style,
float size) |
Modifier and Type | Method and Description |
---|---|
PDFFont |
deriveFont(float size)
Returns a new instance of this font but with the given size.
|
PDFFont |
deriveFont(PDFFont.Style style) |
PDFFont |
deriveFont(PDFFont.Style style,
float size) |
PDFFontStandard.PDFFontFamily |
getFamily() |
FontMetrics |
getFontMetrics()
Returns the FontMetrics which are used to describe the font.
|
java.lang.String |
getFontName()
Returns the name of the font.
|
java.lang.String |
getFontName(java.util.Locale l) |
float |
getSize()
Returns the current point size of the font.
|
PDFFont.Style |
getStyle()
Returns the style of the font.
|
Paint |
getTextPaint() |
Typeface |
getTypeFace() |
public PDFFontStandard(PDFFontStandard.PDFFontFamily family, PDFFont.Style style, float size)
public PDFFontStandard.PDFFontFamily getFamily()
public PDFFont.Style getStyle()
PDFFont
public float getSize()
PDFFont
public java.lang.String getFontName()
PDFFont
getFontName
in interface PDFFont
public java.lang.String getFontName(java.util.Locale l)
public FontMetrics getFontMetrics()
PDFFont
getFontMetrics
in interface PDFFont
public PDFFont deriveFont(float size)
PDFFont
deriveFont
in interface PDFFont
size
- The point size of the new font.public PDFFont deriveFont(PDFFont.Style style)
public PDFFont deriveFont(PDFFont.Style style, float size)
public Typeface getTypeFace()
public Paint getTextPaint()