public enum TextHorizontalOverflow extends java.lang.Enum<TextHorizontalOverflow>
Enum Constant and Description |
---|
CLIP
When a big character does not fit into a line, clip it at
the proper horizontal overflow.
|
OVERFLOW
When a big character does not fit into a line, allow a
horizontal overflow.
|
Modifier and Type | Method and Description |
---|---|
static TextHorizontalOverflow |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TextHorizontalOverflow[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TextHorizontalOverflow OVERFLOW
public static final TextHorizontalOverflow CLIP
public static TextHorizontalOverflow[] values()
for (TextHorizontalOverflow c : TextHorizontalOverflow.values()) System.out.println(c);
public static TextHorizontalOverflow 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 2020 The Apache Software Foundation or its licensors, as applicable.