org.gnu.pango

Class WrapMode

public class WrapMode extends Enum

Describes how to wrap the lines of a PangoLayout to the desired width.
Field Summary
static WrapModeCHAR
Wrap lines at character boundaries.
static WrapModeWORD
Wrap lines at word boundaries.
static WrapModeWORD_CHAR
Wrap lines at word boundaries, but fall back to character boundaries if there is not enough space for a full word.
Method Summary
WrapModeand(WrapMode other)
static WrapModeintern(int value)
WrapModeor(WrapMode other)
booleantest(WrapMode other)
WrapModexor(WrapMode other)

Field Detail

CHAR

public static final WrapMode CHAR
Wrap lines at character boundaries.

WORD

public static final WrapMode WORD
Wrap lines at word 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.

Method Detail

and

public WrapMode and(WrapMode other)

intern

public static WrapMode intern(int value)

or

public WrapMode or(WrapMode other)

test

public boolean test(WrapMode other)

xor

public WrapMode xor(WrapMode other)