Direction
Contents
[
Hide
]Inheritance: java.lang.Object, java.lang.Enum < Direction > com.aspose.pdf.Direction, java.lang.Enum < Direction >, com.aspose.pdf.Direction
All Implemented Interfaces: Serializable, Comparable < Direction >
public enum Direction extends Enum < Direction >
Text direction.
Fields
| Field | Description |
|---|---|
| L2R | Left to right direction. |
| R2L | Right to left direction. |
Methods
| Method | Description |
|---|---|
| getByValue | |
| getValue | |
| valueOf | Returns the enum constant of this type with the specified name. |
| values | Returns an array containing the constants of this enum type, in the order they are declared. |
L2R
public static final Direction L2R
Left to right direction.
R2L
public static final Direction R2L
Right to left direction.
getByValue
public static Direction getByValue(int value)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value |
getValue
public int getValue()
valueOf
Returns the enum constant of this type with the specified name.
values
public static Direction [] values()
Returns an array containing the constants of this enum type, in the order they are declared.
Returns: an array containing the constants of this enum type, in the order they are declared