Enum Transform2D.Type

java.lang.Object
  extended by java.lang.Enum<Transform2D.Type>
      extended by Transform2D.Type
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<Transform2D.Type>
Enclosing class:
Transform2D

public static enum Transform2D.Type
extends java.lang.Enum<Transform2D.Type>

ZERO can be used to construct a Transform2D object defining the zero matrix. IDENTITY can be used to construct a Transform2D object defining the identity matrix. REFX can be used to construct a Transform2D object defining a reflection in the x axis. REFY can be used to construct a Transform2D object defining a reflection in the y axis. REFORIGIN can be used to construct a Transform2D object defining a reflection in the origin.


Enum Constant Summary
IDENTITY
          IDENTITY can be used to construct a Transform2D object defining the identity matrix.
REFORIGIN
          REFORIGIN can be used to construct a Transform2D object defining a reflection in the origin.
REFX
          REFX can be used to construct a Transform2D object defining a reflection in the x axis.
REFY
          REFY can be used to construct a Transform2D object defining a reflection in the y axis.
ZERO
          ZERO can be used to construct a Transform2D object defining the zero matrix.
 
Method Summary
static Transform2D.Type valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static Transform2D.Type[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

ZERO

public static final Transform2D.Type ZERO
ZERO can be used to construct a Transform2D object defining the zero matrix.


IDENTITY

public static final Transform2D.Type IDENTITY
IDENTITY can be used to construct a Transform2D object defining the identity matrix.


REFX

public static final Transform2D.Type REFX
REFX can be used to construct a Transform2D object defining a reflection in the x axis.


REFY

public static final Transform2D.Type REFY
REFY can be used to construct a Transform2D object defining a reflection in the y axis.


REFORIGIN

public static final Transform2D.Type REFORIGIN
REFORIGIN can be used to construct a Transform2D object defining a reflection in the origin.

Method Detail

values

public static Transform2D.Type[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (Transform2D.Type c : Transform2D.Type.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static Transform2D.Type valueOf(java.lang.String name)
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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null