public enum TextDirection extends java.lang.Enum<TextDirection>
Enum Constant and Description |
---|
HORIZONTAL
Horizontal text.
|
STACKED
Determines if all of the text is vertical
("one letter on top of another").
|
VERTICAL
Vertical orientation.
|
VERTICAL_270
Vertical orientation.
|
Modifier and Type | Method and Description |
---|---|
static TextDirection |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TextDirection[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TextDirection HORIZONTAL
public static final TextDirection VERTICAL
public static final TextDirection VERTICAL_270
public static final TextDirection STACKED
public static TextDirection[] values()
for (TextDirection c : TextDirection.values()) System.out.println(c);
public static TextDirection 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 nullCopyright 2022 The Apache Software Foundation or its licensors, as applicable.