public static enum NiftiPixelGenerator.Format extends java.lang.Enum<NiftiPixelGenerator.Format>
Enum Constant and Description |
---|
GRAYSCALE
1-byte grayscale
|
GRAYSCALE_ALPHA
2-byte grayscale-alpha
|
RGB
3-byte RGB
|
RGBA
4-byte RGBA
|
Modifier and Type | Method and Description |
---|---|
static NiftiPixelGenerator.Format |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static NiftiPixelGenerator.Format[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NiftiPixelGenerator.Format GRAYSCALE
public static final NiftiPixelGenerator.Format GRAYSCALE_ALPHA
public static final NiftiPixelGenerator.Format RGB
public static final NiftiPixelGenerator.Format RGBA
public static NiftiPixelGenerator.Format[] values()
for (NiftiPixelGenerator.Format c : NiftiPixelGenerator.Format.values()) System.out.println(c);
public static NiftiPixelGenerator.Format valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null