Package com.datalogics.PDFL
Enum Class PathOperators
- All Implemented Interfaces:
Serializable,Comparable<PathOperators>,Constable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionDesignates the h (closepath) operator, which closes the current sub-path.Designates the c (curveto) operator, which appends a bezier curve to the path.Designates the l (lineto) operator, which appends a straight line segment from the current point.Designates the m (moveto) operator, which moves the current point.Designates the re operator, which adds a rectangle to the current path. -
Method Summary
Modifier and TypeMethodDescriptionstatic PathOperatorsReturns the enum constant of this class with the specified name.static PathOperators[]values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
MOVE
Designates the m (moveto) operator, which moves the current point. -
LINE
Designates the l (lineto) operator, which appends a straight line segment from the current point. -
CURVE
Designates the c (curveto) operator, which appends a bezier curve to the path. -
RECT_PATH
Designates the re operator, which adds a rectangle to the current path. -
CLOSE
Designates the h (closepath) operator, which closes the current sub-path.
-
-
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
-