Package net.paulhertz.pixelaudio
Enum Class AffineTransformType
- All Implemented Interfaces:
Serializable,Comparable<AffineTransformType>,Constable
Standard orientation ("NADA") for PixelMapGen puts the start point at (0,0). A Hilbert curve starts at (0,0) and ends at (width-1, 0).
A DiagonalZigzag curve starts at (0,0) and ends at (width, height). See the PixelMapGen child classes for details.
Naming follows computer graphics conventions where 0 degrees points right and positive rotation is counterclockwise.
NADA no operation R270 rotate 90 degrees clockwise ROT180 rotate 180 degrees R90 rotate 90 degrees counterclockwise FLIPX reflect on y-axis, y coordinates do not change FX270 reflect on y-axis, then rotate 90 clockwise = reflect on the secondary diagonal, upper left to lower right, secondary diagonal does not change FLIPY reflect on x-axis, x coordinates do not change FX90 reflect on y-axis, then rotate 90 counterclockwise = reflect on the primary diagonal, upper right to lower left, primary diagonal does not change
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic AffineTransformTypeReturns the enum constant of this class with the specified name.static AffineTransformType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NADA
-
R270
-
R180
-
R90
-
FLIPX
-
FX270
-
FLIPY
-
FX90
-
-
Constructor Details
-
AffineTransformType
private AffineTransformType()
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-