Enum Class TLspPinLineStyle.PinEndPosition

java.lang.Object
java.lang.Enum<TLspPinLineStyle.PinEndPosition>
com.luciad.view.lightspeed.style.TLspPinLineStyle.PinEndPosition
All Implemented Interfaces:
Serializable, Comparable<TLspPinLineStyle.PinEndPosition>, Constable
Enclosing class:
TLspPinLineStyle

public static enum TLspPinLineStyle.PinEndPosition extends Enum<TLspPinLineStyle.PinEndPosition>
Possible positions for the end of the pin: the position where the pin connects to the label.
Since:
2012.1
  • Enum Constant Details

    • MIDDLE_OF_BOUNDS

      public static final TLspPinLineStyle.PinEndPosition MIDDLE_OF_BOUNDS
      The pin connects to the label at the middle of the label bounds.
    • CLOSEST_EDGE

      public static final TLspPinLineStyle.PinEndPosition CLOSEST_EDGE
      The pin connects to the label at the middle point of the label's edge that is closest to the label's anchor geometry.
    • CLOSEST_POINT_ON_EDGE

      public static final TLspPinLineStyle.PinEndPosition CLOSEST_POINT_ON_EDGE
      The pin connects to the label at the position on any of the label's edges that is closest to the label's anchor geometry. Note that this can include any of the corners of the label. This end position results in the smallest possible pin lines.
      Since:
      2017.0
    • MIDDLE_OF_BOUNDS_ON_EDGE

      public static final TLspPinLineStyle.PinEndPosition MIDDLE_OF_BOUNDS_ON_EDGE
      The pin connects to the label at the middle of the label bounds. Additionally pin line is cut off where it crosses the edge of the label.
  • Method Details

    • values

      public static TLspPinLineStyle.PinEndPosition[] 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 TLspPinLineStyle.PinEndPosition 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