Enum HemfPlusPath.EmfPlusPathPointType
- java.lang.Object
-
- java.lang.Enum<HemfPlusPath.EmfPlusPathPointType>
-
- org.apache.poi.hemf.record.emfplus.HemfPlusPath.EmfPlusPathPointType
-
- All Implemented Interfaces:
Serializable,Comparable<HemfPlusPath.EmfPlusPathPointType>
- Enclosing class:
- HemfPlusPath
public static enum HemfPlusPath.EmfPlusPathPointType extends Enum<HemfPlusPath.EmfPlusPathPointType>
The PathPointType enumeration defines types of points on a graphics path.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static HemfPlusPath.EmfPlusPathPointTypevalueOf(String name)Returns the enum constant of this type with the specified name.static HemfPlusPath.EmfPlusPathPointType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
START
public static final HemfPlusPath.EmfPlusPathPointType START
Specifies that the point is the starting point of a path.
-
LINE
public static final HemfPlusPath.EmfPlusPathPointType LINE
Specifies that the point is one of the two endpoints of a line.
-
UNUSED
public static final HemfPlusPath.EmfPlusPathPointType UNUSED
-
BEZIER
public static final HemfPlusPath.EmfPlusPathPointType BEZIER
Specifies that the point is an endpoint or control point of a cubic Bezier curve
-
-
Method Detail
-
values
public static HemfPlusPath.EmfPlusPathPointType[] 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 (HemfPlusPath.EmfPlusPathPointType c : HemfPlusPath.EmfPlusPathPointType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static HemfPlusPath.EmfPlusPathPointType 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
-
-