public enum ColorSpaces extends Enum<ColorSpaces>
Enum Constant and Description |
---|
CalGray |
CalRGB |
DeviceCMYK |
DeviceGray |
DeviceN |
DeviceRGB |
ICCBased |
Indexed |
Lab |
Pattern |
Separation |
Modifier and Type | Method and Description |
---|---|
String |
getLabel() |
static ColorSpaces |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ColorSpaces[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ColorSpaces Lab
public static final ColorSpaces CalRGB
public static final ColorSpaces CalGray
public static final ColorSpaces DeviceN
public static final ColorSpaces Indexed
public static final ColorSpaces Pattern
public static final ColorSpaces ICCBased
public static final ColorSpaces DeviceRGB
public static final ColorSpaces DeviceGray
public static final ColorSpaces DeviceCMYK
public static final ColorSpaces Separation
public String label
public static ColorSpaces[] values()
for (ColorSpaces c : ColorSpaces.values()) System.out.println(c);
public static ColorSpaces 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 getLabel()
Copyright © 2002–2017 The Apache Software Foundation. All rights reserved.