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

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

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


Enum Constant Summary
DIFFERENCE
           
INTERSECTION
           
UNION
           
XOR
           
 
Method Summary
static Clipper.ClipType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static Clipper.ClipType[] 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

INTERSECTION

public static final Clipper.ClipType INTERSECTION

UNION

public static final Clipper.ClipType UNION

DIFFERENCE

public static final Clipper.ClipType DIFFERENCE

XOR

public static final Clipper.ClipType XOR
Method Detail

values

public static final Clipper.ClipType[] 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.ClipType c : Clipper.ClipType.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.ClipType 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.