Enum Clipper.EndType
- java.lang.Object
-
- java.lang.Enum<Clipper.EndType>
-
- com.itextpdf.text.pdf.parser.clipper.Clipper.EndType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<Clipper.EndType>
- Enclosing interface:
- Clipper
public static enum Clipper.EndType extends java.lang.Enum<Clipper.EndType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CLOSED_LINE
CLOSED_POLYGON
OPEN_BUTT
OPEN_ROUND
OPEN_SQUARE
-
Constructor Summary
Constructors Modifier Constructor Description private
EndType()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Clipper.EndType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static Clipper.EndType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CLOSED_POLYGON
public static final Clipper.EndType CLOSED_POLYGON
-
CLOSED_LINE
public static final Clipper.EndType CLOSED_LINE
-
OPEN_BUTT
public static final Clipper.EndType OPEN_BUTT
-
OPEN_SQUARE
public static final Clipper.EndType OPEN_SQUARE
-
OPEN_ROUND
public static final Clipper.EndType OPEN_ROUND
-
-
Method Detail
-
values
public static Clipper.EndType[] 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 (Clipper.EndType c : Clipper.EndType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Clipper.EndType valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-