Direction
Contents
[
Hide
]Inheritance: java.lang.Object
public class Direction
Text direction.
Fields
Field | Description |
---|---|
BTT | Bottom-to-top writing direction. |
DEFAULT | Default value, same as LTR. |
LTR | Left-to-right writing direction. |
RTL | Right-to-left writing direction. |
TTB | Top-to-bottom writing direction. |
length |
Methods
Method | Description |
---|---|
fromName(String directionName) | |
getName(int direction) | |
getValues() | |
toString(int direction) |
BTT
public static int BTT
Bottom-to-top writing direction.
DEFAULT
public static int DEFAULT
Default value, same as LTR.
LTR
public static int LTR
Left-to-right writing direction.
RTL
public static int RTL
Right-to-left writing direction.
TTB
public static int TTB
Top-to-bottom writing direction.
length
public static int length
fromName(String directionName)
public static int fromName(String directionName)
Parameters:
Parameter | Type | Description |
---|---|---|
directionName | java.lang.String |
Returns: int
getName(int direction)
public static String getName(int direction)
Parameters:
Parameter | Type | Description |
---|---|---|
direction | int |
Returns: java.lang.String
getValues()
public static int[] getValues()
Returns: int[]
toString(int direction)
public static String toString(int direction)
Parameters:
Parameter | Type | Description |
---|---|---|
direction | int |
Returns: java.lang.String