Enum RectAlign

  • All Implemented Interfaces:
    Serializable, Comparable<RectAlign>

    public enum RectAlign
    extends Enum<RectAlign>
    Specifies possible rectangle alignment types. See org.openxmlformats.schemas.drawingml.x2006.main.STRectAlignment
    • Enum Constant Detail

      • TOP_LEFT

        public static final RectAlign TOP_LEFT
        Top-Left rectangle alignment
      • TOP

        public static final RectAlign TOP
        Top rectangle alignment
      • TOP_RIGHT

        public static final RectAlign TOP_RIGHT
        Top-Right rectangle alignment
      • LEFT

        public static final RectAlign LEFT
        Left rectangle alignment
      • CENTER

        public static final RectAlign CENTER
        Center rectangle alignment
      • RIGHT

        public static final RectAlign RIGHT
        Right rectangle alignment
      • BOTTOM_LEFT

        public static final RectAlign BOTTOM_LEFT
        Bottom-Left rectangle alignment
      • BOTTOM

        public static final RectAlign BOTTOM
        Bottom rectangle alignment
      • BOTTOM_RIGHT

        public static final RectAlign BOTTOM_RIGHT
        Bottom-Right rectangle alignment
    • Method Detail

      • values

        public static RectAlign[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (RectAlign c : RectAlign.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static RectAlign valueOf​(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:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • toString

        public String toString()
        The string representation, which corresponds to the internal XML enum value
        Overrides:
        toString in class Enum<RectAlign>