[]
        
(Showing Draft Content)

TextureAlignment

Enum Class TextureAlignment

java.lang.Object
java.lang.Enum<TextureAlignment>
com.grapecity.documents.excel.drawing.TextureAlignment
All Implemented Interfaces:
Serializable, Comparable<TextureAlignment>, Constable

public enum TextureAlignment extends Enum<TextureAlignment>
Specifies the alignment (the origin of the coordinate grid) for the tiling of the texture fill.
  • Enum Constant Details

    • TopLeft

      public static final TextureAlignment TopLeft
      Specifies the top-left alignment.
    • Top

      public static final TextureAlignment Top
      Specifies the top alignment.
    • TopRight

      public static final TextureAlignment TopRight
      Specifies the top-right alignment.
    • Left

      public static final TextureAlignment Left
      Specifies the left alignment.
    • Center

      public static final TextureAlignment Center
      Specifies the center alignment.
    • BottomLeft

      public static final TextureAlignment BottomLeft
      Specifies the bottom-left alignment.
    • Bottom

      public static final TextureAlignment Bottom
      Specifies the bottom alignment.
    • BottomRight

      public static final TextureAlignment BottomRight
      Specifies the bottom-right alignment.
  • Method Details

    • values

      public static TextureAlignment[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static TextureAlignment valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null