Enum SymbolSizeUnits

    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      DIPS
      Render the affected symbol by interpreting the size values as DIPs.
      METERS
      Render the affected symbol by interpreting the size values as meters.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static SymbolSizeUnits valueOf​(java.lang.String name)
      Returns the enum constant of this type with the specified name.
      static SymbolSizeUnits[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      • Methods inherited from class java.lang.Enum

        clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • Methods inherited from class java.lang.Object

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

      • DIPS

        public static final SymbolSizeUnits DIPS
        Render the affected symbol by interpreting the size values as DIPs. Symbols in this mode remain the same size in density-independent pixels (dp) no matter the camera's distance from the symbol itself. This has the effect of making the symbol appear the same size on the screen regardless of how far the camera is from the symbol.
        Since:
        100.5.0
      • METERS

        public static final SymbolSizeUnits METERS
        Render the affected symbol by interpreting the size values as meters. Symbols in this mode remain the same size in meters no matter the camera's distance from the symbol itself. This has the effect of making the symbol appear smaller the further away the camera is.
        Since:
        100.5.0
    • Method Detail

      • values

        public static SymbolSizeUnits[] 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 (SymbolSizeUnits c : SymbolSizeUnits.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static SymbolSizeUnits valueOf​(java.lang.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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null