org.gnu.pango

Class Direction


public class Direction
extends Enum

The PangoDirection type represents the direction of writing for text.

Field Summary

static Direction
LTR
The text is written left-to-right
static Direction
RTL
The text is written right-to-left
static Direction
TTB_LTR
Deprecated. Superceeded by java-gnome 4.0; this method or constant will no doubt exist conceptually, but it may have a different name or signature in order that the presented API is an algorithmic mapping of the underlying native libraries.
static Direction
TTB_RTL
Deprecated. Superceeded by java-gnome 4.0; this method or constant will no doubt exist conceptually, but it may have a different name or signature in order that the presented API is an algorithmic mapping of the underlying native libraries.

Method Summary

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

Field Details

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

Deprecated. Superceeded by java-gnome 4.0; this method or constant will no doubt exist conceptually, but it may have a different name or signature in order that the presented API is an algorithmic mapping of the underlying native libraries.

The text is written vertically top-to-bottom, with the rows ordered from left to right.

TTB_RTL

public static final Direction TTB_RTL

Deprecated. Superceeded by java-gnome 4.0; this method or constant will no doubt exist conceptually, but it may have a different name or signature in order that the presented API is an algorithmic mapping of the underlying native libraries.

The text is written vertically top-to-bottom, with the rows ordered from right to left.

Method Details

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)