public static enum HwmfFont.WmfFontPitch extends java.lang.Enum<HwmfFont.WmfFontPitch>
Enum Constant and Description |
---|
DEFAULT_PITCH
The default pitch, which is implementation-dependent.
|
FIXED_PITCH
A fixed pitch, which means that all the characters in the font occupy the same
width when output in a string.
|
VARIABLE_PITCH
A variable pitch, which means that the characters in the font occupy widths
that are proportional to the actual widths of the glyphs when output in a string.
|
Modifier and Type | Method and Description |
---|---|
static HwmfFont.WmfFontPitch |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static HwmfFont.WmfFontPitch[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HwmfFont.WmfFontPitch DEFAULT_PITCH
public static final HwmfFont.WmfFontPitch FIXED_PITCH
public static final HwmfFont.WmfFontPitch VARIABLE_PITCH
public static HwmfFont.WmfFontPitch[] values()
for (HwmfFont.WmfFontPitch c : HwmfFont.WmfFontPitch.values()) System.out.println(c);
public static HwmfFont.WmfFontPitch valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullCopyright 2016 The Apache Software Foundation or its licensors, as applicable.