com.aspose.imaging
Class StringAlignment

java.lang.Object
  extended by java.lang.Enum
      extended by com.aspose.imaging.StringAlignment
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable

public final class StringAlignment
extends java.lang.Enum

Specifies the alignment of a text string relative to its layout rectangle.

See Also:
Serialized Form

Field Summary
static int Center
           Specifies that text is aligned in the center of the layout rectangle.
static int Far
           Specifies that text is aligned far from the origin position of the layout rectangle.
static int Near
           Specifies the text be aligned near the layout.
 
Method Summary
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

Center

public static final int Center

Specifies that text is aligned in the center of the layout rectangle.

See Also:
Constant Field Values

Far

public static final int Far

Specifies that text is aligned far from the origin position of the layout rectangle. In a left-to-right layout, the far position is right. In a right-to-left layout, the far position is left.

See Also:
Constant Field Values

Near

public static final int Near

Specifies the text be aligned near the layout. In a left-to-right layout, the near position is left. In a right-to-left layout, the near position is right.

See Also:
Constant Field Values