org.gnu.pango
Class WrapMode
java.lang.Object
org.gnu.glib.Enum
org.gnu.pango.WrapMode
public class WrapMode
- extends org.gnu.glib.Enum
Describes how to wrap the lines of a PangoLayout to the desired width.
Field Summary |
static WrapMode |
CHAR
Wrap lines at character boundaries. |
static WrapMode |
WORD
Wrap lines at word boundaries. |
static WrapMode |
WORD_CHAR
Wrap lines at word boundaries, but fall back to character boundaries if
there is not enough space for a full word. |
Methods inherited from class org.gnu.glib.Enum |
equals, getValue, hashCode |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, toString, wait, wait, wait |
WORD
public static final WrapMode WORD
- Wrap lines at word boundaries.
CHAR
public static final WrapMode CHAR
- Wrap lines at character boundaries.
WORD_CHAR
public static final WrapMode WORD_CHAR
- Wrap lines at word boundaries, but fall back to character boundaries if
there is not enough space for a full word.
intern
public static WrapMode intern(int value)
or
public WrapMode or(WrapMode other)
and
public WrapMode and(WrapMode other)
xor
public WrapMode xor(WrapMode other)
test
public boolean test(WrapMode other)