public enum SnapLineOrientation extends Enum<SnapLineOrientation>
orthogonal snap lines.| Enum Constant and Description |
|---|
HORIZONTAL
Constant that describes a horizontal
orientation of a snap line. |
VERTICAL
Constant that describes a vertical
orientation of a snap line. |
| Modifier and Type | Method and Description |
|---|---|
static SnapLineOrientation |
fromOrdinal(int ordinal) |
int |
value() |
static SnapLineOrientation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SnapLineOrientation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SnapLineOrientation HORIZONTAL
orientation of a snap line.public static final SnapLineOrientation VERTICAL
orientation of a snap line.public static final SnapLineOrientation fromOrdinal(int ordinal)
public int value()
public static SnapLineOrientation valueOf(String name)
IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullname - the name of the enum constant to be returned.public static SnapLineOrientation[] values()
for (SnapLineOrientation c : SnapLineOrientation.values()) System.out.println(c);