Package com.itextpdf.layout.properties
Enum WritingMode
- All Implemented Interfaces:
-
Serializable,Comparable<WritingMode>,java.lang.constant.Constable
Enum which defines values for
WritingMode and defines the direction of a text.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionLays out text horizontally, lines progression is from top to bottom.Lays out text vertically, line progression is from left to right.Lays out text vertically, line progression is from right to left. -
Method Summary
Modifier and TypeMethodDescriptionstatic WritingModeReturns the enum constant of this type with the specified name.static WritingMode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
HORIZONTAL_TB
Lays out text horizontally, lines progression is from top to bottom. -
VERTICAL_LR
Lays out text vertically, line progression is from left to right. -
VERTICAL_RL
Lays out text vertically, line progression is from right to left.
-
-
Method Details
-
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
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
-
name- the name of the enum constant to be returned. - Returns:
- the enum constant with the specified name
- Throws:
-
IllegalArgumentException- if this enum type has no constant with the specified name -
NullPointerException- if the argument is null
-