public enum FunctionType extends java.lang.Enum<FunctionType>
PDFGraphics2D
class, only
EXPONENTIAL_INTERPOLATION
and STITCHING
are used at present
(to support gradient paint implementations).Enum Constant and Description |
---|
EXPONENTIAL_INTERPOLATION
PDF function type 2.
|
POSTSCRIPT_CALCULATOR
PDF function type 4.
|
SAMPLED
PDF function type 0.
|
STITCHING
PDF function type 3.
|
Modifier and Type | Method and Description |
---|---|
int |
getNumber()
Returns the PDF number for the function type.
|
static FunctionType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static FunctionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FunctionType SAMPLED
public static final FunctionType EXPONENTIAL_INTERPOLATION
public static final FunctionType STITCHING
public static final FunctionType POSTSCRIPT_CALCULATOR
public static FunctionType[] values()
for (FunctionType c : FunctionType.values()) System.out.println(c);
public static FunctionType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic int getNumber()