public enum ColorPrimaries extends Enum<ColorPrimaries>
Enum Constant and Description |
---|
BT2020 |
BT470BG |
BT470M |
BT709 |
FILM |
JEDEC_P22 |
SMPTE170M |
SMPTE240M |
SMPTE428 |
SMPTE431 |
SMPTE432 |
SMPTEST428_1 |
UNSPECIFIED |
Modifier and Type | Method and Description |
---|---|
static ColorPrimaries |
fromValue(String text) |
String |
getValue() |
String |
toString() |
static ColorPrimaries |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ColorPrimaries[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ColorPrimaries UNSPECIFIED
public static final ColorPrimaries BT709
public static final ColorPrimaries BT470M
public static final ColorPrimaries BT470BG
public static final ColorPrimaries SMPTE170M
public static final ColorPrimaries SMPTE240M
public static final ColorPrimaries FILM
public static final ColorPrimaries BT2020
public static final ColorPrimaries SMPTE428
public static final ColorPrimaries SMPTEST428_1
public static final ColorPrimaries SMPTE431
public static final ColorPrimaries SMPTE432
public static final ColorPrimaries JEDEC_P22
public static ColorPrimaries[] values()
for (ColorPrimaries c : ColorPrimaries.values()) System.out.println(c);
public static ColorPrimaries 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<ColorPrimaries>
public static ColorPrimaries fromValue(String text)
Copyright © 2022. All rights reserved.