Enum Class AffineTransformType

java.lang.Object
java.lang.Enum<AffineTransformType>
net.paulhertz.pixelaudio.AffineTransformType
All Implemented Interfaces:
Serializable, Comparable<AffineTransformType>, Constable

public enum AffineTransformType extends Enum<AffineTransformType>
   ROT90        rotate 90 degrees clockwise
   ROT90CCW     rotate 90 degrees counterclockwise
   ROT180       rotate 180 degrees
   FLIPX        reflect vertically, y coordinates do not change
   FLIPX90      reflect vertically, then rotate 90 clockwise = reflect on the secondary diagonal, upper left to lower right, secondary diagonal does not change
   FLIPX90CCW   reflect vertically, then rotate 90 counterclockwise = reflect on the primary diagonal, upper right to lower left, primary diagonal does not change
   FLIPY        reflect horizontally, x coordinates do not change
   NADA         no operation
   
See Also:
  • Enum Constant Details

  • Method Details

    • values

      public static AffineTransformType[] 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 AffineTransformType 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