Enum HemfPlusPen.EmfPlusDashedLineCapType
- java.lang.Object
-
- java.lang.Enum<HemfPlusPen.EmfPlusDashedLineCapType>
-
- org.apache.poi.hemf.record.emfplus.HemfPlusPen.EmfPlusDashedLineCapType
-
- All Implemented Interfaces:
Serializable,Comparable<HemfPlusPen.EmfPlusDashedLineCapType>
- Enclosing class:
- HemfPlusPen
public static enum HemfPlusPen.EmfPlusDashedLineCapType extends Enum<HemfPlusPen.EmfPlusDashedLineCapType>
The DashedLineCapType enumeration defines types of line caps to use at the ends of dashed lines that are drawn with graphics pens.
-
-
Field Summary
Fields Modifier and Type Field Description intid
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static HemfPlusPen.EmfPlusDashedLineCapTypevalueOf(int id)Returns the enum constant of this type with the specified name.static HemfPlusPen.EmfPlusDashedLineCapTypevalueOf(String name)Returns the enum constant of this type with the specified name.static HemfPlusPen.EmfPlusDashedLineCapType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
FLAT
public static final HemfPlusPen.EmfPlusDashedLineCapType FLAT
Specifies a flat dashed line cap.
-
ROUND
public static final HemfPlusPen.EmfPlusDashedLineCapType ROUND
Specifies a round dashed line cap.
-
TRIANGLE
public static final HemfPlusPen.EmfPlusDashedLineCapType TRIANGLE
Specifies a triangular dashed line cap.
-
-
Method Detail
-
values
public static HemfPlusPen.EmfPlusDashedLineCapType[] 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.EmfPlusDashedLineCapType c : HemfPlusPen.EmfPlusDashedLineCapType.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.EmfPlusDashedLineCapType 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.EmfPlusDashedLineCapType 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
-
-