Enum PDTransitionDirection
java.lang.Object
java.lang.Enum<PDTransitionDirection>
org.apache.pdfbox.pdmodel.interactive.pagenavigation.PDTransitionDirection
- All Implemented Interfaces:
Serializable
,Comparable<PDTransitionDirection>
,java.lang.constant.Constable
The direction in which the specified transition effect shall moves, expressed in degrees counterclockwise starting
from a left-to-right direction. Only for
PDTransitionStyle.Wipe
, PDTransitionStyle.Glitter
,
PDTransitionStyle.Fly
, PDTransitionStyle.Cover
, PDTransitionStyle.Uncover
and
PDTransitionStyle.Push
.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionRelevant only for the Wipe transitionRelevant only for the Fly transition when the value of SS is not 1.0Relevant only for the Wipe transitionRelevant only for the Glitter transition -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic PDTransitionDirection
Returns the enum constant of this type with the specified name.static PDTransitionDirection[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
LEFT_TO_RIGHT
-
BOTTOM_TO_TOP
Relevant only for the Wipe transition -
RIGHT_TO_LEFT
Relevant only for the Wipe transition -
TOP_TO_BOTTOM
-
TOP_LEFT_TO_BOTTOM_RIGHT
Relevant only for the Glitter transition -
NONE
Relevant only for the Fly transition when the value of SS is not 1.0
-
-
Field Details
-
degrees
private final int degrees
-
-
Constructor Details
-
PDTransitionDirection
private PDTransitionDirection(int degrees)
-
-
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 nameNullPointerException
- if the argument is null
-
getCOSBase
- Returns:
- the value for this direction
-