org.osm2world.core.target.common.material
public static enum Material.Transparency extends Enum<Material.Transparency>
Enum Constant and Description |
---|
BINARY
only allow pixels to be either fully transparent or fully opaque
|
FALSE
all pixels are opaque
|
TRUE
arbitrary transparency, including partially transparent pixels
|
Modifier and Type | Method and Description |
---|---|
static Material.Transparency |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Material.Transparency[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Material.Transparency TRUE
public static final Material.Transparency BINARY
public static final Material.Transparency FALSE
public static Material.Transparency[] values()
for (Material.Transparency c : Material.Transparency.values()) System.out.println(c);
public static Material.Transparency 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