Package com.itextpdf.kernel.pdf.canvas
Enum PdfCanvas.CheckColorMode
- java.lang.Object
-
- java.lang.Enum<PdfCanvas.CheckColorMode>
-
- com.itextpdf.kernel.pdf.canvas.PdfCanvas.CheckColorMode
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<PdfCanvas.CheckColorMode>
- Enclosing class:
- PdfCanvas
private static enum PdfCanvas.CheckColorMode extends java.lang.Enum<PdfCanvas.CheckColorMode>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description FILL
FILL_AND_STROKE
NONE
STROKE
-
Constructor Summary
Constructors Modifier Constructor Description private
CheckColorMode()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PdfCanvas.CheckColorMode
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static PdfCanvas.CheckColorMode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NONE
public static final PdfCanvas.CheckColorMode NONE
-
FILL
public static final PdfCanvas.CheckColorMode FILL
-
STROKE
public static final PdfCanvas.CheckColorMode STROKE
-
FILL_AND_STROKE
public static final PdfCanvas.CheckColorMode FILL_AND_STROKE
-
-
Method Detail
-
values
public static PdfCanvas.CheckColorMode[] 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 (PdfCanvas.CheckColorMode c : PdfCanvas.CheckColorMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PdfCanvas.CheckColorMode 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
-
-