Enum HemfPlusPen.EmfPlusLineJoin
- java.lang.Object
-
- java.lang.Enum<HemfPlusPen.EmfPlusLineJoin>
-
- org.apache.poi.hemf.record.emfplus.HemfPlusPen.EmfPlusLineJoin
-
- All Implemented Interfaces:
Serializable,Comparable<HemfPlusPen.EmfPlusLineJoin>
- Enclosing class:
- HemfPlusPen
public static enum HemfPlusPen.EmfPlusLineJoin extends Enum<HemfPlusPen.EmfPlusLineJoin>
The LineJoinType enumeration defines ways to join two lines that are drawn by the same graphics pen and whose ends meet.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BEVELMITERMITER_CLIPPEDROUND
-
Field Summary
Fields Modifier and Type Field Description intid
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static HemfPlusPen.EmfPlusLineJoinvalueOf(int id)Returns the enum constant of this type with the specified name.static HemfPlusPen.EmfPlusLineJoinvalueOf(String name)Returns the enum constant of this type with the specified name.static HemfPlusPen.EmfPlusLineJoin[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
MITER
public static final HemfPlusPen.EmfPlusLineJoin MITER
-
BEVEL
public static final HemfPlusPen.EmfPlusLineJoin BEVEL
-
ROUND
public static final HemfPlusPen.EmfPlusLineJoin ROUND
-
MITER_CLIPPED
public static final HemfPlusPen.EmfPlusLineJoin MITER_CLIPPED
-
-
Method Detail
-
values
public static HemfPlusPen.EmfPlusLineJoin[] 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 (HemfPlusPen.EmfPlusLineJoin c : HemfPlusPen.EmfPlusLineJoin.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static HemfPlusPen.EmfPlusLineJoin 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 HemfPlusPen.EmfPlusLineJoin 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
-
-