Enum Class TLcdGXYOnPathLabelingAlgorithm.AlignmentMode

java.lang.Object
java.lang.Enum<TLcdGXYOnPathLabelingAlgorithm.AlignmentMode>
com.luciad.view.gxy.labeling.algorithm.discrete.TLcdGXYOnPathLabelingAlgorithm.AlignmentMode
All Implemented Interfaces:
Serializable, Comparable<TLcdGXYOnPathLabelingAlgorithm.AlignmentMode>, Constable
Enclosing class:
TLcdGXYOnPathLabelingAlgorithm

public static enum TLcdGXYOnPathLabelingAlgorithm.AlignmentMode extends Enum<TLcdGXYOnPathLabelingAlgorithm.AlignmentMode>
Alignment mode that determines if label are placed on, outside or inside the paths.
  • Enum Constant Details

    • CENTER

      Alignment mode, indicating that the label is placed on the path.
    • OUTSIDE

      public static final TLcdGXYOnPathLabelingAlgorithm.AlignmentMode 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

      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

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

      Alignment mode, indicating that the label is shifted to a direction so that is positioned above the path.
    • BELOW

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

    • 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

      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