Package com.pdfjet
Enum Class PathOperator
- All Implemented Interfaces:
Serializable,Comparable<PathOperator>,Constable
The operators that paint a path, for example in Page.drawPath.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionCloses and then strokes the path.Closes and fills the path.Closes, fills and then strokes the path.Like FILL, but uses the even-odd rule.Like FILL_AND_STROKE, but uses the even-odd rule.Strokes the path. -
Method Summary
Modifier and TypeMethodDescriptionstatic PathOperatorReturns the enum constant of this class with the specified name.static PathOperator[]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
-
STROKE
Strokes the path. -
CLOSE_AND_STROKE
Closes and then strokes the path. -
FILL
Closes and fills the path. -
FILL_AND_STROKE
Closes, fills and then strokes the path. -
FILL_USING_EVEN_ODD_RULE
Like FILL, but uses the even-odd rule. -
FILL_USING_EVEN_ODD_RULE_AND_STROKE
Like FILL_AND_STROKE, but uses the even-odd rule.
-
-
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
-