public static enum HemfPlusObject.EmfPlusObjectType extends java.lang.Enum<HemfPlusObject.EmfPlusObjectType>
Enum Constant and Description |
---|
BRUSH
Brush objects fill graphics regions.
|
CUSTOM_LINE_CAP
Custom line cap objects specify shapes to draw at the ends of a graphics line, including squares, circles, and diamonds.
|
FONT
Font objects specify font properties, including typeface style, em size, and font family.
|
IMAGE
Image objects encapsulate bitmaps and metafiles.
|
IMAGE_ATTRIBUTES
Image attribute objects specify operations on pixels during image rendering, including color adjustment, grayscale adjustment, gamma correction, and color mapping.
|
INVALID
The object is not a valid object.
|
PATH
Path objects specify sequences of lines, curves, and shapes.
|
PEN
Pen objects draw graphics lines.
|
REGION
Region objects specify areas of the output surface.
|
STRING_FORMAT
String format objects specify text layout, including alignment, orientation, tab stops, clipping, and digit substitution for languages that do not use Western European digits.
|
Modifier and Type | Field and Description |
---|---|
java.util.function.Supplier<? extends HemfPlusObject.EmfPlusObjectData> |
constructor |
int |
id |
Modifier and Type | Method and Description |
---|---|
static HemfPlusObject.EmfPlusObjectType |
valueOf(int id) |
static HemfPlusObject.EmfPlusObjectType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
(返回具有指定名称的此类型的枚举常量。)
|
static HemfPlusObject.EmfPlusObjectType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared.
(按照声明的顺序返回包含此枚举类型常量的数组。)
|
public static final HemfPlusObject.EmfPlusObjectType INVALID
public static final HemfPlusObject.EmfPlusObjectType BRUSH
public static final HemfPlusObject.EmfPlusObjectType PEN
public static final HemfPlusObject.EmfPlusObjectType PATH
public static final HemfPlusObject.EmfPlusObjectType REGION
public static final HemfPlusObject.EmfPlusObjectType IMAGE
public static final HemfPlusObject.EmfPlusObjectType FONT
public static final HemfPlusObject.EmfPlusObjectType STRING_FORMAT
public static final HemfPlusObject.EmfPlusObjectType IMAGE_ATTRIBUTES
public static final HemfPlusObject.EmfPlusObjectType CUSTOM_LINE_CAP
public final int id
public final java.util.function.Supplier<? extends HemfPlusObject.EmfPlusObjectData> constructor
public static HemfPlusObject.EmfPlusObjectType[] values()
for (HemfPlusObject.EmfPlusObjectType c : HemfPlusObject.EmfPlusObjectType.values()) System.out.println(c);(按照声明的顺序返回包含此枚举类型常量的数组。此方法可用于迭代常量,如下所示: for (HemfPlusObject.EmfPlusObjectType c : HemfPlusObject.EmfPlusObjectType.values()) System.out.println(c);)
public static HemfPlusObject.EmfPlusObjectType 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 HemfPlusObject.EmfPlusObjectType valueOf(int id)
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.