Enum HemfPlusImage.EmfPlusWrapMode
- java.lang.Object
-
- java.lang.Enum<HemfPlusImage.EmfPlusWrapMode>
-
- org.apache.poi.hemf.record.emfplus.HemfPlusImage.EmfPlusWrapMode
-
- All Implemented Interfaces:
Serializable,Comparable<HemfPlusImage.EmfPlusWrapMode>
- Enclosing class:
- HemfPlusImage
public static enum HemfPlusImage.EmfPlusWrapMode extends Enum<HemfPlusImage.EmfPlusWrapMode>
The WrapMode enumeration defines how the pattern from a texture or gradient brush is tiled across a shape or at shape boundaries, when it is smaller than the area being filled.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description WRAP_MODE_CLAMPWRAP_MODE_TILEWRAP_MODE_TILE_FLIP_XWRAP_MODE_TILE_FLIP_XYWRAP_MODE_TILE_FLIP_Y
-
Field Summary
Fields Modifier and Type Field Description intid
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static HemfPlusImage.EmfPlusWrapModevalueOf(int id)Returns the enum constant of this type with the specified name.static HemfPlusImage.EmfPlusWrapModevalueOf(String name)Returns the enum constant of this type with the specified name.static HemfPlusImage.EmfPlusWrapMode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
WRAP_MODE_TILE
public static final HemfPlusImage.EmfPlusWrapMode WRAP_MODE_TILE
-
WRAP_MODE_TILE_FLIP_X
public static final HemfPlusImage.EmfPlusWrapMode WRAP_MODE_TILE_FLIP_X
-
WRAP_MODE_TILE_FLIP_Y
public static final HemfPlusImage.EmfPlusWrapMode WRAP_MODE_TILE_FLIP_Y
-
WRAP_MODE_TILE_FLIP_XY
public static final HemfPlusImage.EmfPlusWrapMode WRAP_MODE_TILE_FLIP_XY
-
WRAP_MODE_CLAMP
public static final HemfPlusImage.EmfPlusWrapMode WRAP_MODE_CLAMP
-
-
Method Detail
-
values
public static HemfPlusImage.EmfPlusWrapMode[] 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 (HemfPlusImage.EmfPlusWrapMode c : HemfPlusImage.EmfPlusWrapMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static HemfPlusImage.EmfPlusWrapMode 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 HemfPlusImage.EmfPlusWrapMode 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
-
-