public enum PolygonOrientation extends java.lang.Enum<PolygonOrientation>
RegularPolygon
.Enum Constant and Description |
---|
ON_EDGE
Specifies that the
RegularPolygon is lying on an edge. |
ON_VERTEX
Specifies that the
RegularPolygon is standing on a vertex. |
Modifier and Type | Method and Description |
---|---|
static PolygonOrientation |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PolygonOrientation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PolygonOrientation ON_EDGE
RegularPolygon
is lying on an edge.public static final PolygonOrientation ON_VERTEX
RegularPolygon
is standing on a vertex.public static PolygonOrientation[] values()
for (PolygonOrientation c : PolygonOrientation.values()) System.out.println(c);
public static PolygonOrientation 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