org.gnu.pango

Class Direction

public class Direction extends Enum

The PangoDirection type represents the direction of writing for text.
Field Summary
static DirectionLTR
The text is written left-to-right
static DirectionRTL
The text is written right-to-left
static DirectionTTB_LTR
The text is written vertically top-to-bottom, with the rows ordered from left to right.
static DirectionTTB_RTL
The text is written vertically top-to-bottom, with the rows ordered from right to left.
Method Summary
Directionand(Direction other)
static Directionintern(int value)
Directionor(Direction other)
booleantest(Direction other)
Directionxor(Direction other)

Field Detail

LTR

public static final Direction LTR
The text is written left-to-right

RTL

public static final Direction RTL
The text is written right-to-left

TTB_LTR

public static final Direction TTB_LTR
The text is written vertically top-to-bottom, with the rows ordered from left to right.

TTB_RTL

public static final Direction TTB_RTL
The text is written vertically top-to-bottom, with the rows ordered from right to left.

Method Detail

and

public Direction and(Direction other)

intern

public static Direction intern(int value)

or

public Direction or(Direction other)

test

public boolean test(Direction other)

xor

public Direction xor(Direction other)