Enum Class TLspOnPathLabelingAlgorithm.Alignment

java.lang.Object
java.lang.Enum<TLspOnPathLabelingAlgorithm.Alignment>
com.luciad.view.lightspeed.label.algorithm.discrete.TLspOnPathLabelingAlgorithm.Alignment
All Implemented Interfaces:
Serializable, Comparable<TLspOnPathLabelingAlgorithm.Alignment>, Constable
Enclosing class:
TLspOnPathLabelingAlgorithm

public static enum TLspOnPathLabelingAlgorithm.Alignment extends Enum<TLspOnPathLabelingAlgorithm.Alignment>
Alignment mode that determines if labels are placed on, outside or inside the paths.
Since:
2012.0
  • Nested Class Summary

    Nested classes/interfaces inherited from class java.lang.Enum

    Enum.EnumDesc<E extends Enum<E>>
  • Enum Constant Summary

    Enum Constants
    Enum Constant
    Description
    Alignment mode, indicating that the label is shifted to a direction so that is positioned above the path.
    Alignment mode, indicating that the label is shifted to a direction so that is positioned below the path.
    Alignment mode, indicating that the label is placed on the path.
    Alignment mode, indicating that the label is shifted to a location inside the path.
    Alignment mode, indicating that the label is shifted to the left, when the path is followed from start to end.
    Alignment mode, indicating that the label is placed outside the path.
    Alignment mode, indicating that the label is shifted to the right, when the path is followed from start to end.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the enum constant of this class with the specified name.
    Returns an array containing the constants of this enum class, in the order they are declared.

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

    • CENTER

      public static final TLspOnPathLabelingAlgorithm.Alignment CENTER
      Alignment mode, indicating that the label is placed on the path.
    • OUTSIDE

      public static final TLspOnPathLabelingAlgorithm.Alignment OUTSIDE
      Alignment mode, indicating that the label is placed outside the path. When a path is a polyline instead of a polygon, the polyline is interpreted as a polygon to check if a label is placed outside the path. This is done by connecting the endpoints of the polyline.
    • INSIDE

      public static final TLspOnPathLabelingAlgorithm.Alignment INSIDE
      Alignment mode, indicating that the label is shifted to a location inside the path. When a path is a polyline instead of a polygon, the polyline is interpreted as a polygon to check if a label is placed inside the path. This is done by connecting the endpoints of the polyline.
    • LEFT

      public static final TLspOnPathLabelingAlgorithm.Alignment LEFT
      Alignment mode, indicating that the label is shifted to the left, when the path is followed from start to end.
    • ABOVE

      public static final TLspOnPathLabelingAlgorithm.Alignment ABOVE
      Alignment mode, indicating that the label is shifted to a direction so that is positioned above the path.
    • BELOW

      public static final TLspOnPathLabelingAlgorithm.Alignment BELOW
      Alignment mode, indicating that the label is shifted to a direction so that is positioned below the path.
  • Method Details

    • values

      public static TLspOnPathLabelingAlgorithm.Alignment[] 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 TLspOnPathLabelingAlgorithm.Alignment 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