org.osm2world.core.target.common
public enum ExtrudeOption extends Enum<ExtrudeOption>
Target.drawExtrudedShape(Material, ShapeXZ, List, List, List, List, EnumSet)
.Enum Constant and Description |
---|
END_CAP
determines whether the end of the "pipe" created by the extrusion should be capped
or left open.
|
START_CAP
determines whether the beginning of the "pipe" created by the extrusion should be capped
or left open.
|
Modifier and Type | Method and Description |
---|---|
static ExtrudeOption |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ExtrudeOption[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ExtrudeOption START_CAP
public static final ExtrudeOption END_CAP
public static ExtrudeOption[] values()
for (ExtrudeOption c : ExtrudeOption.values()) System.out.println(c);
public static ExtrudeOption 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