Direction

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

FieldDescription
L2RLeft to right direction.
R2LRight to left direction.

Methods

MethodDescription
getByValue
getValue
valueOfReturns the enum constant of this type with the specified name.
valuesReturns 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:

ParameterTypeDescription
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