Enum Class TLspGARSGridStyle.LabelPosition

java.lang.Object
java.lang.Enum<TLspGARSGridStyle.LabelPosition>
com.luciad.view.lightspeed.painter.grid.gars.TLspGARSGridStyle.LabelPosition
All Implemented Interfaces:
Serializable, Comparable<TLspGARSGridStyle.LabelPosition>, Constable
Enclosing class:
TLspGARSGridStyle

public static enum TLspGARSGridStyle.LabelPosition extends Enum<TLspGARSGridStyle.LabelPosition>
Defines the position of the line labels with respect to the view. They can for example be placed at the left or at the right edge of the view, or both. For example, when a label is placed at the east or south side of a line, it will be placed at the left or lower edge of the view when using a rectangular projection like mercator.
Since:
2021.1
  • Enum Constant Details

    • EAST_AND_SOUTH

      public static final TLspGARSGridStyle.LabelPosition EAST_AND_SOUTH
      Places the line label at the east or south side of the parallel or meridian.
    • EAST_AND_NORTH

      public static final TLspGARSGridStyle.LabelPosition EAST_AND_NORTH
      Places the line label at the east or north side of the parallel or meridian.
    • WEST_AND_SOUTH

      public static final TLspGARSGridStyle.LabelPosition WEST_AND_SOUTH
      Places the line label at the west or south side of the parallel or meridian.
    • WEST_AND_NORTH

      public static final TLspGARSGridStyle.LabelPosition WEST_AND_NORTH
      Places the line label at the west or north side of the parallel or meridian.
  • Method Details

    • values

      public static TLspGARSGridStyle.LabelPosition[] 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 TLspGARSGridStyle.LabelPosition 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