public enum AsciiShape extends 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(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(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 nullpublic void draw(BasicCharArea area, int x, int y)
public final int getHeight()
public final int getWidth()
Copyright © 2017. All rights reserved.