Packages

 

com.aspose.psd

Interfaces

Classes

Exceptions

com.aspose.psd

Class StringAlignment

  • java.lang.Object
    • com.aspose.ms.System.ValueType
      • com.aspose.ms.System.Enum
        • com.aspose.psd.StringAlignment


  • public final class StringAlignment
    extends com.aspose.ms.System.Enum

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

    • Field Summary

      Fields 
      Modifier and Type Field and Description
      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.
    • Field Detail

      • 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
      • 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