Enum Class ELcdNVGVerticalAlignment

java.lang.Object
java.lang.Enum<ELcdNVGVerticalAlignment>
com.luciad.format.nvg.model.ELcdNVGVerticalAlignment
All Implemented Interfaces:
Serializable, Comparable<ELcdNVGVerticalAlignment>, Constable

public enum ELcdNVGVerticalAlignment extends Enum<ELcdNVGVerticalAlignment>
Vertical alignment enumeration (middle, top or bottom). Vertical and horizontal alignments are used to determine the geo-referenced anchor point (x, y) with respect to a bounding box containing all text.
Since:
2015.0
  • Enum Constant Details

    • MIDDLE

      public static final ELcdNVGVerticalAlignment MIDDLE
      Middle text alignment element. The anchor point is in the center along the y axis of the text bounding box.
    • TOP

      public static final ELcdNVGVerticalAlignment TOP
      Top text alignment element. The anchor point is on the top of the text bounding box.
    • BOTTOM

      public static final ELcdNVGVerticalAlignment BOTTOM
      Bottom text alignment element. The anchor point is on the bottom of the text bounding box.
  • Method Details

    • values

      public static ELcdNVGVerticalAlignment[] 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 ELcdNVGVerticalAlignment 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
    • value

      public String value()
      Get the textual value of this vertical alignment.
      Returns:
      The textual value of this vertical alignment.
    • toString

      public String toString()
      Overrides:
      toString in class Enum<ELcdNVGVerticalAlignment>
    • fromValue

      public static ELcdNVGVerticalAlignment fromValue(String aValue)
      Convert the given string to his corresponding ELcdNVGVerticalAlignment .
      Parameters:
      aValue - The string representing a vertical alignment.
      Returns:
      The given string as ELcdNVGVerticalAlignment .
    • toValue

      public static String toValue(ELcdNVGVerticalAlignment aValue)
      Convert the given vertical alignment to his string representation.
      Parameters:
      aValue - The vertical alignment to convert.
      Returns:
      The given vertical alignment as string representation.