Enum LabelDeconflictionStrategy

    • Enum Constant Detail

      • DYNAMIC

        public static final LabelDeconflictionStrategy DYNAMIC
        Place the label in the preferred location, but move to an alternative location to avoid overlapping higher priority labels or point feature symbols.

        This label is placed only if it can be moved to a location that will not overlap a higher priority label.

        Since:
        100.11.0
      • NONE

        public static final LabelDeconflictionStrategy NONE
        Place the label in the preferred location, regardless of overlaps with other features or labels.
        Since:
        100.11.0
      • STATIC

        public static final LabelDeconflictionStrategy STATIC
        Place the label in the preferred location, unless it would overlap a higher priority label or point feature symbol.

        If it overlaps a lower priority label, then the lower priority label may disappear or move (depending on its LabelDefinition.getDeconflictionStrategy()). If this label overlaps a higher priority label, then this label is not placed.

        Since:
        100.11.0
    • Method Detail

      • values

        public static LabelDeconflictionStrategy[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (LabelDeconflictionStrategy c : LabelDeconflictionStrategy.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static LabelDeconflictionStrategy valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
        NullPointerException - if the argument is null