Enum Class NTxAlign

java.lang.Object
java.lang.Enum<NTxAlign>
net.thevpc.ntexup.api.document.elem2d.NTxAlign
All Implemented Interfaces:
Serializable, Comparable<NTxAlign>, Constable, net.thevpc.nuts.elem.NToElement

public enum NTxAlign extends Enum<NTxAlign> implements net.thevpc.nuts.elem.NToElement
  • Enum Constant Details

    • TOP_LEFT

      public static final NTxAlign TOP_LEFT
    • TOP_RIGHT

      public static final NTxAlign TOP_RIGHT
    • TOP

      public static final NTxAlign TOP
    • LEFT

      public static final NTxAlign LEFT
    • CENTER

      public static final NTxAlign CENTER
    • BOTTOM

      public static final NTxAlign BOTTOM
    • BOTTOM_LEFT

      public static final NTxAlign BOTTOM_LEFT
    • BOTTOM_RIGHT

      public static final NTxAlign BOTTOM_RIGHT
    • NONE

      public static final NTxAlign NONE
  • Method Details

    • values

      public static NTxAlign[] 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 NTxAlign 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
    • toPosition

      public net.thevpc.nuts.util.NOptional<NTxDouble2> toPosition()
    • parse

      public static net.thevpc.nuts.util.NOptional<NTxAlign> parse(String e)
    • toElement

      public net.thevpc.nuts.elem.NElement toElement()
      Specified by:
      toElement in interface net.thevpc.nuts.elem.NToElement