public enum ShadingType extends java.lang.Enum<ShadingType>
Enum Constant and Description |
---|
AXIAL
Axial shading.
|
COONS |
FREE_FORM |
FUNCTION |
LATTICE_FORM |
RADIAL
Radial shading.
|
TENSOR |
Modifier and Type | Method and Description |
---|---|
int |
getNumber()
Returns the PDF number for the shading type.
|
static ShadingType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ShadingType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ShadingType FUNCTION
public static final ShadingType AXIAL
public static final ShadingType RADIAL
public static final ShadingType FREE_FORM
public static final ShadingType LATTICE_FORM
public static final ShadingType COONS
public static final ShadingType TENSOR
public static ShadingType[] values()
for (ShadingType c : ShadingType.values()) System.out.println(c);
public static ShadingType 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()