Class TransformType

java.lang.Object
org.apache.xmlgraphics.java2d.TransformType

public final class TransformType extends Object
Enumeration for transformation types.
Version:
$Id$ Originally authored by Vincent Hardy.
  • Field Details

  • Method Details

    • toString

      public String toString()
      Overrides:
      toString in class Object
      Returns:
      description
    • toInt

      public int toInt()
      Convenience for enumeration switching. That is,
         switch(transformType.toInt()){
             case TransformType.TRANSFORM_TRANSLATE:
              ....
             case TransformType.TRANSFORM_ROTATE:
       
    • readResolve

      public Object readResolve()
      This is called by the serialization code before it returns an unserialized object. To provide for unicity of instances, the instance that was read is replaced by its static equivalent