Package com.itextpdf.io.font.constants
Class FontWeights
- java.lang.Object
-
- com.itextpdf.io.font.constants.FontWeights
-
public final class FontWeights extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static int
BLACK
static int
BOLD
static int
EXTRA_BOLD
static int
EXTRA_LIGHT
static int
LIGHT
static int
MEDIUM
static int
NORMAL
static int
SEMI_BOLD
static int
THIN
-
Constructor Summary
Constructors Modifier Constructor Description private
FontWeights()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static int
fromType1FontWeight(java.lang.String weight)
static int
normalizeFontWeight(int fontWeight)
-
-
-
Field Detail
-
THIN
public static final int THIN
- See Also:
- Constant Field Values
-
EXTRA_LIGHT
public static final int EXTRA_LIGHT
- See Also:
- Constant Field Values
-
LIGHT
public static final int LIGHT
- See Also:
- Constant Field Values
-
NORMAL
public static final int NORMAL
- See Also:
- Constant Field Values
-
MEDIUM
public static final int MEDIUM
- See Also:
- Constant Field Values
-
SEMI_BOLD
public static final int SEMI_BOLD
- See Also:
- Constant Field Values
-
BOLD
public static final int BOLD
- See Also:
- Constant Field Values
-
EXTRA_BOLD
public static final int EXTRA_BOLD
- See Also:
- Constant Field Values
-
BLACK
public static final int BLACK
- See Also:
- Constant Field Values
-
-