public static enum Panose.Field extends Enum<Panose.Field>
| Enum Constant and Description |
|---|
ARM_STYLE
The bArmStyle field.
|
CONTRAST
The bContrast field.
|
FAMILY_TYPE
The bFamilyType field.
|
LETTERFORM
The bLetterform field.
|
MIDLINE
The bMidline field.
|
PROPORTION
The bProportion field.
|
SERIF_STYLE
The bSerifStyle field.
|
STROKE_VARIATION
The bStrokeVariatoon field.
|
WEIGHT
The bWeight field.
|
X_HEIGHT
The bXHeight field.
|
| Modifier and Type | Method and Description |
|---|---|
byte |
getIndex()
Returns the 0-based index of this element in the PANOSE array.
|
byte |
getMaxValue()
Returns the maximum valid value for this field.
|
static Panose.Field |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Panose.Field[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Panose.Field FAMILY_TYPE
public static final Panose.Field SERIF_STYLE
public static final Panose.Field WEIGHT
public static final Panose.Field PROPORTION
public static final Panose.Field CONTRAST
public static final Panose.Field STROKE_VARIATION
public static final Panose.Field ARM_STYLE
public static final Panose.Field LETTERFORM
public static final Panose.Field MIDLINE
public static final Panose.Field X_HEIGHT
public static Panose.Field[] values()
for (Panose.Field c : Panose.Field.values()) System.out.println(c);
public static Panose.Field valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic byte getIndex()
public byte getMaxValue()
Copyright © 2007-2022. All Rights Reserved.