public enum NDChannelLayout extends Enum<NDChannelLayout>
| Modifier and Type | Method and Description |
|---|---|
int |
numChannels() |
static NDChannelLayout |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NDChannelLayout[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NDChannelLayout RGB
public static final NDChannelLayout RGBA
public static final NDChannelLayout BGR
public static final NDChannelLayout BGRA
public static final NDChannelLayout GRAYSCALE
public static NDChannelLayout[] values()
for (NDChannelLayout c : NDChannelLayout.values()) System.out.println(c);
public static NDChannelLayout 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 nullpublic int numChannels()
Copyright © 2022. All rights reserved.