public static enum GLabel.Rotation extends Enum<GLabel.Rotation>
Enum Constant and Description |
---|
ROTATE_CCW |
ROTATE_CW |
ROTATE_NONE |
Modifier and Type | Method and Description |
---|---|
int |
orientation()
Get the rotation orientation (0, 1, -1).
|
static GLabel.Rotation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GLabel.Rotation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GLabel.Rotation ROTATE_NONE
public static final GLabel.Rotation ROTATE_CW
public static final GLabel.Rotation ROTATE_CCW
public static GLabel.Rotation[] values()
for (GLabel.Rotation c : GLabel.Rotation.values()) System.out.println(c);
public static GLabel.Rotation 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 int orientation()
Copyright © 2024. All rights reserved.