public enum ColorSpace extends Enum<ColorSpace>
Enum Constant and Description |
---|
CMYK
CMYK color space.
|
DetermineAutomatically
Determine the color space automatically.
|
GrayScale
Gray scale color space.
|
Monochrome
Monochrome color space.
|
RGB
RGB color space.
|
Modifier and Type | Method and Description |
---|---|
String |
getValue()
Retrieves the color space setting.
|
static ColorSpace |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ColorSpace[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ColorSpace RGB
public static final ColorSpace CMYK
public static final ColorSpace GrayScale
public static final ColorSpace Monochrome
public static final ColorSpace DetermineAutomatically
public static ColorSpace[] values()
for (ColorSpace c : ColorSpace.values()) System.out.println(c);
public static ColorSpace 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 getValue()
Copyright © 1982–2022 Adobe Systems Inc.. All rights reserved.