AWT Shape Extruder

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

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

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

Specifies how the string is placed in relation to the position parameter.


Enum Constant Summary
CENTER
          The center of the string is placed on the position point.
FIRST
          The first character of the string is placed on the position point.
LAST
          The last character of the string is placed on the position point.
 
Method Summary
static String3D.Alignment valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static String3D.Alignment[] 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

CENTER

public static final String3D.Alignment CENTER
The center of the string is placed on the position point.


FIRST

public static final String3D.Alignment FIRST
The first character of the string is placed on the position point.


LAST

public static final String3D.Alignment LAST
The last character of the string is placed on the position point.

Method Detail

values

public static final String3D.Alignment[] 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.Alignment c : String3D.Alignment.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.Alignment 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