com.itextpdf.text.pdf.parser.clipper
Enum Clipper.EndType

java.lang.Object
  extended by java.lang.Enum<Clipper.EndType>
      extended by com.itextpdf.text.pdf.parser.clipper.Clipper.EndType
All Implemented Interfaces:
Serializable, Comparable<Clipper.EndType>
Enclosing interface:
Clipper

public static enum Clipper.EndType
extends Enum<Clipper.EndType>


Enum Constant Summary
CLOSED_LINE
           
CLOSED_POLYGON
           
OPEN_BUTT
           
OPEN_ROUND
           
OPEN_SQUARE
           
 
Method Summary
static Clipper.EndType valueOf(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're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

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 final Clipper.EndType[] values()
Returns an array containing the constants of this enum type, in the order they're 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're declared

valueOf

public static Clipper.EndType 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 name


Copyright © 2015. All Rights Reserved.