Enum Class PDTransitionDirection

java.lang.Object
java.lang.Enum<PDTransitionDirection>
org.apache.pdfbox.pdmodel.interactive.pagenavigation.PDTransitionDirection
All Implemented Interfaces:
Serializable, Comparable<PDTransitionDirection>, Constable

public enum PDTransitionDirection extends Enum<PDTransitionDirection>
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.
  • Enum Constant Details

  • Field Details

    • degrees

      private final int degrees
  • Constructor Details

    • PDTransitionDirection

      private PDTransitionDirection(int degrees)
  • Method Details

    • values

      public static PDTransitionDirection[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static PDTransitionDirection valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null
    • getCOSBase

      public COSBase getCOSBase()
      Returns:
      the value for this direction