java.lang.Object | ||
↳ | java.lang.Enum<E extends java.lang.Enum<E>> | |
↳ | com.carto.graphics.ColorFormat |
Possible image formats.
Enum Values | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
ColorFormat | COLOR_FORMAT_BGRA | An image format that describes images with four channels, one for each color: blue, green and red and one for alpha. |
|||||||||
ColorFormat | COLOR_FORMAT_GRAYSCALE | An image format that describes images with a single color channel. | |||||||||
ColorFormat | COLOR_FORMAT_GRAYSCALE_ALPHA | An image format that describes images with two channels, one for color and the other for alpha. |
|||||||||
ColorFormat | COLOR_FORMAT_RGB | An image format that describes images with three channels, one for each color: red, green and blue. | |||||||||
ColorFormat | COLOR_FORMAT_RGBA | An image format that describes images with four channels, one for each color: red, green and blue and one for alpha. |
|||||||||
ColorFormat | COLOR_FORMAT_RGBA_4444 | An image format that describes images with four channels, one for each color: red, green, and blue and one for alpha. |
|||||||||
ColorFormat | COLOR_FORMAT_RGB_565 | An image format that describes images with three channels, one for each color: red, green, and blue. | |||||||||
ColorFormat | COLOR_FORMAT_UNSUPPORTED | Options for identifiny unsupported image formats. |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
static ColorFormat | swigToEnum(int swigValue) | ||||||||||
final int | swigValue() | ||||||||||
static ColorFormat | valueOf(String name) | ||||||||||
final static ColorFormat[] | values() |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() | |||||||||||
![]() |
An image format that describes images with four channels, one for each color: blue, green and red
and one for alpha. This color format will be converted to RGBA.
An image format that describes images with a single color channel.
An image format that describes images with two channels, one for color and the other
for alpha.
An image format that describes images with three channels, one for each color: red, green and blue.
An image format that describes images with four channels, one for each color: red, green and blue
and one for alpha.
An image format that describes images with four channels, one for each color: red, green, and blue
and one for alpha. Each color is only four bits. This color format will be converted to RGBA.
An image format that describes images with three channels, one for each color: red, green, and blue.
Red and blue colors are each packed into 5 bits, green into 6 bits. This color format will be converted to RGB.
Options for identifiny unsupported image formats.