Modifier and Type | Method and Description |
---|---|
static ShapeType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ShapeType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ShapeType CIR
public static final ShapeType REC
public static final ShapeType TRI
public static final ShapeType LIN
public static final ShapeType POL
public static final ShapeType CUR
public static final ShapeType PIC
public static final ShapeType ARC
public static ShapeType[] values()
for (ShapeType c : ShapeType.values()) System.out.println(c);
public static ShapeType 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 nullProcessing tool ArtStation by Justin Wilder. (c) 2019