AWT Shape Extruder

com.interactivemesh.j3d.community.utils.geometry
Enum String3D.Path

java.lang.Object
  extended by java.lang.Enum<String3D.Path>
      extended by com.interactivemesh.j3d.community.utils.geometry.String3D.Path
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<String3D.Path>
Enclosing class:
String3D

public static enum String3D.Path
extends java.lang.Enum<String3D.Path>

Specifies how succeeding characters in the string are placed in relation to the previous characters and are aligned in relation to the position parameter.


Enum Constant Summary
DOWN_CENTER
          Succeeding characters are placed below the current character and are centered on the position point.
DOWN_LEFT
          Succeeding characters are placed below the current character and are aligned left in relation to the position point.
DOWN_RIGHT
          Succeeding characters are placed below the current character and are aligned right in relation to the position point.
LEFT
          Succeeding characters are placed to the left of the current character.
RIGHT
          Succeeding characters are placed to the right of the current character.
UP_CENTER
          Succeeding characters are placed above the current character and are centered on the position point.
UP_LEFT
          Succeeding characters are placed above the current character and are aligned left in relation to the position point.
UP_RIGHT
          Succeeding characters are placed above the current character and are aligned right in relation to the position point.
 
Method Summary
static String3D.Path valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static String3D.Path[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

LEFT

public static final String3D.Path LEFT
Succeeding characters are placed to the left of the current character.


RIGHT

public static final String3D.Path RIGHT
Succeeding characters are placed to the right of the current character.


DOWN_CENTER

public static final String3D.Path DOWN_CENTER
Succeeding characters are placed below the current character and are centered on the position point.


DOWN_LEFT

public static final String3D.Path DOWN_LEFT
Succeeding characters are placed below the current character and are aligned left in relation to the position point.


DOWN_RIGHT

public static final String3D.Path DOWN_RIGHT
Succeeding characters are placed below the current character and are aligned right in relation to the position point.


UP_CENTER

public static final String3D.Path UP_CENTER
Succeeding characters are placed above the current character and are centered on the position point.


UP_LEFT

public static final String3D.Path UP_LEFT
Succeeding characters are placed above the current character and are aligned left in relation to the position point.


UP_RIGHT

public static final String3D.Path UP_RIGHT
Succeeding characters are placed above the current character and are aligned right in relation to the position point.

Method Detail

values

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

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

valueOf

public static String3D.Path 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

AWT Shape Extruder