Enum Class HemfPlusPen.EmfPlusPenAlignment
java.lang.Object
java.lang.Enum<HemfPlusPen.EmfPlusPenAlignment>
org.apache.poi.hemf.record.emfplus.HemfPlusPen.EmfPlusPenAlignment
- All Implemented Interfaces:
Serializable,Comparable<HemfPlusPen.EmfPlusPenAlignment>,Constable
- Enclosing class:
- HemfPlusPen
The PenAlignment enumeration defines the distribution of the width of the pen with respect to the
line being drawn.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionSpecifies that the EmfPlusPen object is centered over the theoretical line.Specifies that the pen is positioned on the inside of the theoretical line.Specifies that the pen is positioned to the left of the theoretical line.Specifies that the pen is positioned on the outside of the theoretical line.Specifies that the pen is positioned to the right of the theoretical line. -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvalueOf(int id) Returns the enum constant of this class with the specified name.Returns the enum constant of this class with the specified name.static HemfPlusPen.EmfPlusPenAlignment[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
CENTER
Specifies that the EmfPlusPen object is centered over the theoretical line. -
INSET
Specifies that the pen is positioned on the inside of the theoretical line. -
LEFT
Specifies that the pen is positioned to the left of the theoretical line. -
OUTSET
Specifies that the pen is positioned on the outside of the theoretical line. -
RIGHT
Specifies that the pen is positioned to the right of the theoretical line.
-
-
Field Details
-
id
public final int id
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-