public class FontType
extends java.lang.Object
Modifier and Type | Field | Description |
---|---|---|
static FontType |
CIDTYPE0 |
|
static FontType |
MMTYPE1 |
Adobe Multiple Master Type 1 fonts
|
static FontType |
OTHER |
Collective identifier for "other" font types
|
static FontType |
TRUETYPE |
TrueType fonts
|
static FontType |
TYPE0 |
Adobe Type 0 fonts (composite font)
|
static FontType |
TYPE1 |
Adobe Type 1 fonts
|
static FontType |
TYPE1C |
|
static FontType |
TYPE3 |
Adobe Type 3 fonts ("user-defined" fonts)
|
Modifier | Constructor | Description |
---|---|---|
protected |
FontType(java.lang.String name,
int value) |
Construct a font type.
|
Modifier and Type | Method | Description |
---|---|---|
static FontType |
byName(java.lang.String name) |
Returns the FontType by name.
|
static FontType |
byValue(int value) |
Returns the FontType by value.
|
java.lang.String |
getName() |
Returns the name
|
int |
getValue() |
Returns the value
|
java.lang.String |
toString() |
public static final FontType OTHER
public static final FontType TYPE0
public static final FontType TYPE1
public static final FontType MMTYPE1
public static final FontType TYPE3
public static final FontType TRUETYPE
public static final FontType TYPE1C
public static final FontType CIDTYPE0
protected FontType(java.lang.String name, int value)
name
- a font type namevalue
- a font type valueEnum(String)
public static FontType byName(java.lang.String name)
name
- Name of the font type to look uppublic static FontType byValue(int value)
value
- Value of the font type to look uppublic java.lang.String getName()
public int getValue()
public java.lang.String toString()
toString
in class java.lang.Object
Copyright 1999-2016 The Apache Software Foundation. All Rights Reserved.