Package org.apache.poi.hwmf.record
Enum HwmfPenStyle.HwmfLineJoin
- java.lang.Object
-
- java.lang.Enum<HwmfPenStyle.HwmfLineJoin>
-
- org.apache.poi.hwmf.record.HwmfPenStyle.HwmfLineJoin
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<HwmfPenStyle.HwmfLineJoin>
- Enclosing class:
- HwmfPenStyle
public static enum HwmfPenStyle.HwmfLineJoin extends java.lang.Enum<HwmfPenStyle.HwmfLineJoin>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static HwmfPenStyle.HwmfLineJoin
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static HwmfPenStyle.HwmfLineJoin[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ROUND
public static final HwmfPenStyle.HwmfLineJoin ROUND
Line joins are round.
-
BEVEL
public static final HwmfPenStyle.HwmfLineJoin BEVEL
Line joins are beveled.
-
MITER
public static final HwmfPenStyle.HwmfLineJoin MITER
Line joins are mitered when they are within the current limit set by the SETMITERLIMIT META_ESCAPE record. A join is beveled when it would exceed the limit
-
-
Method Detail
-
values
public static HwmfPenStyle.HwmfLineJoin[] 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 (HwmfPenStyle.HwmfLineJoin c : HwmfPenStyle.HwmfLineJoin.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static HwmfPenStyle.HwmfLineJoin valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-