Enum Class ELcdNVGHorizontalAlignment

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

public enum ELcdNVGHorizontalAlignment extends Enum<ELcdNVGHorizontalAlignment>
Horizontal alignment enumeration (center, right or left). Horizontal and vertical 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

    • CENTER

      public static final ELcdNVGHorizontalAlignment CENTER
      Center text alignment element. The anchor point is in the center along the x axis of the text bounding box.
    • LEFT

      public static final ELcdNVGHorizontalAlignment LEFT
      Left text alignment element. The anchor point is on the left of the text bounding box.
  • Method Details

    • values

      public static ELcdNVGHorizontalAlignment[] 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 ELcdNVGHorizontalAlignment 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 text alignment.
      Returns:
      The textual value of this text alignment.
    • toString

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

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

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