public enum AsciiShape extends java.lang.Enum<AsciiShape>
Enum Constant and Description |
---|
BOUNDARY |
DATABASE |
STICKMAN |
STICKMAN_UNICODE |
Modifier and Type | Method and Description |
---|---|
void |
draw(BasicCharArea area,
int x,
int y) |
int |
getHeight() |
int |
getWidth() |
static AsciiShape |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AsciiShape[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AsciiShape STICKMAN
public static final AsciiShape STICKMAN_UNICODE
public static final AsciiShape BOUNDARY
public static final AsciiShape DATABASE
public static AsciiShape[] values()
for (AsciiShape c : AsciiShape.values()) System.out.println(c);
public static AsciiShape 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 nullpublic void draw(BasicCharArea area, int x, int y)
public final int getHeight()
public final int getWidth()