Named
class Named
kotlin.Any | ||
↳ | kotlin.Enum<android.graphics.ColorSpace.Named> | |
↳ | android.graphics.ColorSpace.Named |
{@usesMathJax}
List of common, named color spaces. A corresponding instance of ColorSpace
can be obtained by calling ColorSpace#get(Named)
:
ColorSpace cs = ColorSpace.get(ColorSpace.Named.DCI_P3);
The properties of each color space are described below (see sRGB
for instance). When applicable, the color gamut of each color space is compared to the color gamut of sRGB using a CIE 1931 xy chromaticity diagram. This diagram shows the location of the color space's primaries and white point.
Requires API level 26 (Android 8.0, Oreo)
Summary
Enum values
SRGB
SRGB
LINEAR_SRGB
LINEAR_SRGB
EXTENDED_SRGB
EXTENDED_SRGB
LINEAR_EXTENDED_SRGB
LINEAR_EXTENDED_SRGB
BT709
BT709
BT2020
BT2020
DCI_P3
DCI_P3
DISPLAY_P3
DISPLAY_P3
NTSC_1953
NTSC_1953
SMPTE_C
SMPTE_C
ADOBE_RGB
ADOBE_RGB
PRO_PHOTO_RGB
PRO_PHOTO_RGB
ACES
ACES
ACESCG
ACESCG
CIE_XYZ
CIE_XYZ
CIE_LAB
CIE_LAB