# Print output for @column tags ?>
public
static
final
enum
ColorSpace.Model
extends Enum<ColorSpace.Model>
| java.lang.Object | ||
| ↳ | java.lang.Enum<android.graphics.ColorSpace.Model> | |
| ↳ | android.graphics.ColorSpace.Model | |
A color model is required by a ColorSpace to describe the
way colors can be represented as tuples of numbers. A common color
model is the RGB color model which defines a color
as represented by a tuple of 3 numbers (red, green and blue).
Enum values | |
|---|---|
ColorSpace.Model |
CMYK
The CMYK model is a color model with 4 components that refer to four inks used in color printing: cyan, magenta, yellow and black (or key). |
ColorSpace.Model |
LAB
The Lab model is a color model with 3 components used to describe a color space that is more perceptually uniform than XYZ. |
ColorSpace.Model |
RGB
The RGB model is a color model with 3 components that refer to the three additive primiaries: red, green andd blue. |
ColorSpace.Model |
XYZ
The XYZ model is a color model with 3 components that are used to model human color vision on a basic sensory level. |
Public methods | |
|---|---|
int
|
getComponentCount()
Returns the number of components for this color model. |
static
ColorSpace.Model
|
valueOf(String name)
|
static
final
Model[]
|
values()
|
Inherited methods | |
|---|---|
public static final ColorSpace.Model CMYK
The CMYK model is a color model with 4 components that refer to four inks used in color printing: cyan, magenta, yellow and black (or key). CMYK is a subtractive color model.
public static final ColorSpace.Model LAB
The Lab model is a color model with 3 components used to describe a color space that is more perceptually uniform than XYZ.
public static final ColorSpace.Model RGB
The RGB model is a color model with 3 components that refer to the three additive primiaries: red, green andd blue.
public static final ColorSpace.Model XYZ
The XYZ model is a color model with 3 components that are used to model human color vision on a basic sensory level.
public int getComponentCount ()
Returns the number of components for this color model.
| Returns | |
|---|---|
int |
An integer between 1 and 4 Value is between 1 and 4 inclusive |
public static ColorSpace.Model valueOf (String name)
| Parameters | |
|---|---|
name |
String |
| Returns | |
|---|---|
ColorSpace.Model |
|