com.arctorus.documents
Enum TextureAlignmentType

java.lang.Object
  extended by java.lang.Enum<TextureAlignmentType>
      extended by com.arctorus.documents.TextureAlignmentType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<TextureAlignmentType>

public enum TextureAlignmentType
extends java.lang.Enum<TextureAlignmentType>

Defines different types of texture alignments.


Enum Constant Summary
BOTTOM
          Texture is aligned to the bottom.
BOTTOM_LEFT
          Texture is aligned to the bottom left corner.
BOTTOM_RIGHT
          Texture is aligned to the bottom right corner.
CENTER
          Texture is aligned to the center.
LEFT
          Texture is aligned to the left
RIGHT
          Texture is aligned to the right.
TOP
          Texture is aligned to the top.
TOP_LEFT
          Texture is aligned to the top left corner.
TOP_RIGHT
          Texture is aligned to the top right corner.
 
Method Summary
static TextureAlignmentType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static TextureAlignmentType[] values()
          Returns an array containing the constants of this enum type, in the order they're 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

TOP_LEFT

public static final TextureAlignmentType TOP_LEFT
Texture is aligned to the top left corner.


TOP

public static final TextureAlignmentType TOP
Texture is aligned to the top.


TOP_RIGHT

public static final TextureAlignmentType TOP_RIGHT
Texture is aligned to the top right corner.


LEFT

public static final TextureAlignmentType LEFT
Texture is aligned to the left


CENTER

public static final TextureAlignmentType CENTER
Texture is aligned to the center.


RIGHT

public static final TextureAlignmentType RIGHT
Texture is aligned to the right.


BOTTOM_LEFT

public static final TextureAlignmentType BOTTOM_LEFT
Texture is aligned to the bottom left corner.


BOTTOM

public static final TextureAlignmentType BOTTOM
Texture is aligned to the bottom.


BOTTOM_RIGHT

public static final TextureAlignmentType BOTTOM_RIGHT
Texture is aligned to the bottom right corner.

Method Detail

values

public static final TextureAlignmentType[] 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(TextureAlignmentType c : TextureAlignmentType.values())
        System.out.println(c);

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

valueOf

public static TextureAlignmentType 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