Enum HemfPlusObject.EmfPlusObjectType
- java.lang.Object
-
- java.lang.Enum<HemfPlusObject.EmfPlusObjectType>
-
- org.apache.poi.hemf.record.emfplus.HemfPlusObject.EmfPlusObjectType
-
- All Implemented Interfaces:
Serializable,Comparable<HemfPlusObject.EmfPlusObjectType>
- Enclosing class:
- HemfPlusObject
public static enum HemfPlusObject.EmfPlusObjectType extends Enum<HemfPlusObject.EmfPlusObjectType>
The ObjectType enumeration defines types of graphics objects that can be created and used in graphics operations.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BRUSHBrush objects fill graphics regions.CUSTOM_LINE_CAPCustom line cap objects specify shapes to draw at the ends of a graphics line, including squares, circles, and diamonds.FONTFont objects specify font properties, including typeface style, em size, and font family.IMAGEImage objects encapsulate bitmaps and metafiles.IMAGE_ATTRIBUTESImage attribute objects specify operations on pixels during image rendering, including color adjustment, grayscale adjustment, gamma correction, and color mapping.INVALIDThe object is not a valid object.PATHPath objects specify sequences of lines, curves, and shapes.PENPen objects draw graphics lines.REGIONRegion objects specify areas of the output surface.STRING_FORMATString format objects specify text layout, including alignment, orientation, tab stops, clipping, and digit substitution for languages that do not use Western European digits.
-
Field Summary
Fields Modifier and Type Field Description Supplier<? extends HemfPlusObject.EmfPlusObjectData>constructorintid
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static HemfPlusObject.EmfPlusObjectTypevalueOf(int id)Returns the enum constant of this type with the specified name.static HemfPlusObject.EmfPlusObjectTypevalueOf(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.
-
-
-
Enum Constant Detail
-
INVALID
public static final HemfPlusObject.EmfPlusObjectType INVALID
The object is not a valid object.
-
BRUSH
public static final HemfPlusObject.EmfPlusObjectType BRUSH
Brush objects fill graphics regions.
-
PEN
public static final HemfPlusObject.EmfPlusObjectType PEN
Pen objects draw graphics lines.
-
PATH
public static final HemfPlusObject.EmfPlusObjectType PATH
Path objects specify sequences of lines, curves, and shapes.
-
REGION
public static final HemfPlusObject.EmfPlusObjectType REGION
Region objects specify areas of the output surface.
-
IMAGE
public static final HemfPlusObject.EmfPlusObjectType IMAGE
Image objects encapsulate bitmaps and metafiles.
-
FONT
public static final HemfPlusObject.EmfPlusObjectType FONT
Font objects specify font properties, including typeface style, em size, and font family.
-
STRING_FORMAT
public static final HemfPlusObject.EmfPlusObjectType 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.
-
IMAGE_ATTRIBUTES
public static final HemfPlusObject.EmfPlusObjectType IMAGE_ATTRIBUTES
Image attribute objects specify operations on pixels during image rendering, including color adjustment, grayscale adjustment, gamma correction, and color mapping.
-
CUSTOM_LINE_CAP
public static final HemfPlusObject.EmfPlusObjectType CUSTOM_LINE_CAP
Custom line cap objects specify shapes to draw at the ends of a graphics line, including squares, circles, and diamonds.
-
-
Field Detail
-
id
public final int id
-
constructor
public final Supplier<? extends HemfPlusObject.EmfPlusObjectData> constructor
-
-
Method Detail
-
values
public static HemfPlusObject.EmfPlusObjectType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (HemfPlusObject.EmfPlusObjectType c : HemfPlusObject.EmfPlusObjectType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static HemfPlusObject.EmfPlusObjectType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
valueOf
public static HemfPlusObject.EmfPlusObjectType valueOf(int id)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
id- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-