public static enum ResourceImage.OutputFormat extends Enum<ResourceImage.OutputFormat>
Enum Constant and Description |
---|
A8
Represents pixel colors on 8 bits: 8 bit for alpha, 0 bits for red, 0 bits for green and 0 bits for blue.
|
ARGB1555
Represents pixel colors on 16 bits: 1 bit for alpha, 5 bits for red, 5 bits for green and 5 bits for blue.
|
ARGB4444
Represents pixel colors on 16 bits: 4 bit for alpha, 4 bits for red, 4 bits for green and 4 bits for blue.
|
ARGB8888
Represents pixel colors on 32 bits: 8 bits for alpha, 8 bits for red, 8 bits for green and 8 bits for blue.
|
RGB565
Represents pixel colors on 16 bits: 0 bit for alpha, 5 bits for red, 6 bits for green and 5 bits for blue.
|
RGB888
Represents pixel colors on 24 bits: 0 bit for alpha, 8 bits for red, 8 bits for green and 8 bits for blue.
|
Modifier and Type | Method and Description |
---|---|
static ResourceImage.OutputFormat |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ResourceImage.OutputFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ResourceImage.OutputFormat ARGB8888
public static final ResourceImage.OutputFormat RGB888
public static final ResourceImage.OutputFormat RGB565
public static final ResourceImage.OutputFormat ARGB1555
public static final ResourceImage.OutputFormat ARGB4444
public static final ResourceImage.OutputFormat A8
public static ResourceImage.OutputFormat[] values()
for (ResourceImage.OutputFormat c : ResourceImage.OutputFormat.values()) System.out.println(c);
public static ResourceImage.OutputFormat 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 null