public enum AFPShadingMode extends Enum<AFPShadingMode>
Enum Constant and Description |
---|
COLOR
the color mode (the default)
|
DITHERED
the dithered mode
|
Modifier and Type | Method and Description |
---|---|
String |
getName() |
static AFPShadingMode |
getValueOf(String name)
Returns the enumeration/singleton object based on its name.
|
String |
toString() |
static AFPShadingMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AFPShadingMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AFPShadingMode COLOR
public static final AFPShadingMode DITHERED
public static AFPShadingMode[] values()
for (AFPShadingMode c : AFPShadingMode.values()) System.out.println(c);
public static AFPShadingMode valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String getName()
public static AFPShadingMode getValueOf(String name)
name
- the name of the enumeration valuepublic String toString()
toString
in class Enum<AFPShadingMode>
Copyright © 2025 Apache Software Foundation. All rights reserved.