public enum ColorSpace extends Enum<ColorSpace>
Enum Constant and Description |
---|
BT2020_CL
The color space to be applied
|
BT2020_NCL
The color space to be applied
|
BT470BG
The color space to be applied
|
BT709
The color space to be applied
|
FCC
The color space to be applied
|
RGB
The color space to be applied
|
SMPTE170M
The color space to be applied
|
SMPTE2085
The color space to be applied
|
SMPTE240M
The color space to be applied
|
UNSPECIFIED
The color space to be applied
|
YCGCO
The color space to be applied
|
YCOCG
The color space to be applied
|
Modifier and Type | Method and Description |
---|---|
static ColorSpace |
fromValue(String text) |
String |
getValue() |
String |
toString() |
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 UNSPECIFIED
public static final ColorSpace RGB
public static final ColorSpace BT709
public static final ColorSpace FCC
public static final ColorSpace BT470BG
public static final ColorSpace SMPTE170M
public static final ColorSpace SMPTE240M
public static final ColorSpace YCGCO
public static final ColorSpace YCOCG
public static final ColorSpace BT2020_NCL
public static final ColorSpace BT2020_CL
public static final ColorSpace SMPTE2085
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()
public String toString()
toString
in class Enum<ColorSpace>
public static ColorSpace fromValue(String text)
Copyright © 2022. All rights reserved.