public static enum HwmfFont.WmfOutPrecision extends java.lang.Enum<HwmfFont.WmfOutPrecision>
Enum Constant and Description |
---|
OUT_DEFAULT_PRECIS
A value that specifies default behavior.
|
OUT_DEVICE_PRECIS
A value that specifies the choice of a device font when the system contains multiple fonts with the same name.
|
OUT_OUTLINE_PRECIS
A value that specifies the requirement for TrueType and other outline fonts.
|
OUT_PS_ONLY_PRECIS
A value that specifies a requirement for only PostScript fonts.
|
OUT_RASTER_PRECIS
A value that specifies the choice of a rasterized font when the system contains multiple fonts with the same name.
|
OUT_SCREEN_OUTLINE_PRECIS
A value that specifies a preference for TrueType and other outline fonts.
|
OUT_STRING_PRECIS
A value that is returned when rasterized fonts are enumerated.
|
OUT_STROKE_PRECIS
A value that is returned when TrueType and other outline fonts, and vector fonts are enumerated.
|
OUT_TT_ONLY_PRECIS
A value that specifies the requirement for only TrueType fonts.
|
OUT_TT_PRECIS
A value that specifies the choice of a TrueType font when the system contains multiple fonts with the same name.
|
Modifier and Type | Method and Description |
---|---|
static HwmfFont.WmfOutPrecision |
valueOf(int flag) |
static HwmfFont.WmfOutPrecision |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
(返回具有指定名称的此类型的枚举常量。)
|
static HwmfFont.WmfOutPrecision[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared.
(按照声明的顺序返回包含此枚举类型常量的数组。)
|
public static final HwmfFont.WmfOutPrecision OUT_DEFAULT_PRECIS
public static final HwmfFont.WmfOutPrecision OUT_STRING_PRECIS
public static final HwmfFont.WmfOutPrecision OUT_STROKE_PRECIS
public static final HwmfFont.WmfOutPrecision OUT_TT_PRECIS
public static final HwmfFont.WmfOutPrecision OUT_DEVICE_PRECIS
public static final HwmfFont.WmfOutPrecision OUT_RASTER_PRECIS
public static final HwmfFont.WmfOutPrecision OUT_TT_ONLY_PRECIS
public static final HwmfFont.WmfOutPrecision OUT_OUTLINE_PRECIS
public static final HwmfFont.WmfOutPrecision OUT_SCREEN_OUTLINE_PRECIS
public static final HwmfFont.WmfOutPrecision OUT_PS_ONLY_PRECIS
public static HwmfFont.WmfOutPrecision[] values()
for (HwmfFont.WmfOutPrecision c : HwmfFont.WmfOutPrecision.values()) System.out.println(c);(按照声明的顺序返回包含此枚举类型常量的数组。此方法可用于迭代常量,如下所示: for (HwmfFont.WmfOutPrecision c : HwmfFont.WmfOutPrecision.values()) System.out.println(c);)
public static HwmfFont.WmfOutPrecision valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
(name - 要返回的枚举常量的名称。)
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified name
(java.lang.IllegalArgumentException - 如果此枚举类型没有具有指定名称的常量)
java.lang.NullPointerException
- if the argument is null
(java.lang.NullPointerException - 如果参数为空)
public static HwmfFont.WmfOutPrecision valueOf(int flag)
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.