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 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.

Method Summary

WrapMode
and(WrapMode other)
static WrapMode
intern(int value)
WrapMode
or(WrapMode other)
boolean
test(WrapMode other)
WrapMode
xor(WrapMode other)

Field Details

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 Details

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)