org.gnu.pango

Class Alignment

public class Alignment extends Enum

describes how to align the lines of a PangoLayout within the available space. If the PangoLayout is set to justify using pango_layout_set_justify(), then this only has an effect for partial lines.
Field Summary
static AlignmentCENTER
Center the line within the available space
static AlignmentLEFT
Put all available space on the right
static AlignmentRIGHT
Put all available space on the left
Method Summary
Alignmentand(Alignment other)
static Alignmentintern(int value)
Alignmentor(Alignment other)
booleantest(Alignment other)
Alignmentxor(Alignment other)

Field Detail

CENTER

public static final Alignment CENTER
Center the line within the available space

LEFT

public static final Alignment LEFT
Put all available space on the right

RIGHT

public static final Alignment RIGHT
Put all available space on the left

Method Detail

and

public Alignment and(Alignment other)

intern

public static Alignment intern(int value)

or

public Alignment or(Alignment other)

test

public boolean test(Alignment other)

xor

public Alignment xor(Alignment other)