Package | Description |
---|---|
com.itextpdf.text |
Modifier and Type | Method and Description |
---|---|
Font.FontFamily |
Font.getFamily()
Gets the family of this font.
|
static Font.FontFamily |
Font.getFamily(String family)
Translates a String -value of a certain family into the FontFamily enum that is used for this family in this class.
|
static Font.FontFamily |
Font.FontFamily.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Font.FontFamily[] |
Font.FontFamily.values()
Returns an array containing the constants of this enum type, in the order they are declared.
|
Constructor and Description |
---|
Font(Font.FontFamily family)
Constructs a Font.
|
Font(Font.FontFamily family, float size)
Constructs a Font.
|
Font(Font.FontFamily family, float size, int style)
Constructs a Font.
|
Font(Font.FontFamily family, float size, int style, BaseColor color)
Constructs a Font.
|
Copyright © 1998–2019. All rights reserved.