com.supermap.mapping

Class AlongLineDirection



  • public class AlongLineDirection
    extends Enum
    This class defines the constants for along-line labeling directions.

    If the acute angle between the line and the horizontal line is below 60 degrees, the direction is up/down. Otherwise, the direction is left/right.

    • Field Detail

      • ALONG_LINE_NORMAL

        public static final AlongLineDirection ALONG_LINE_NORMAL
        The label alone the line object is perpendicular to the line feature.
      • LEFT_TOP_TO_RIGHT_BOTTOM

        public static final AlongLineDirection LEFT_TOP_TO_RIGHT_BOTTOM
        From top to bottom, and from left to right.
      • RIGHT_TOP_TO_LEFT_BOTTOM

        public static final AlongLineDirection RIGHT_TOP_TO_LEFT_BOTTOM
        From top to bottom, and from right to left.
      • LEFT_BOTTOM_TO_RIGHT_TOP

        public static final AlongLineDirection LEFT_BOTTOM_TO_RIGHT_TOP
        From bottom to top, and from left to right.
      • RIGHT_BOTTOM_TO_LEFT_TOP

        public static final AlongLineDirection RIGHT_BOTTOM_TO_LEFT_TOP
        From bottom to top, and from right to left.