Enum Class SymbolSizeUnits

java.lang.Object
java.lang.Enum<SymbolSizeUnits>
com.esri.arcgisruntime.symbology.SymbolSizeUnits
All Implemented Interfaces:
Serializable, Comparable<SymbolSizeUnits>, Constable

public enum SymbolSizeUnits extends Enum<SymbolSizeUnits>
Represents possible size units for ModelSceneSymbols. The different types can be applied to symbols using ModelSceneSymbol.setSymbolSizeUnits(SymbolSizeUnits) and affect how the symbols are scaled when the camera distance changes.
Since:
100.5.0
  • Enum Constant Details

    • 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 Details

    • values

      public static SymbolSizeUnits[] 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 SymbolSizeUnits 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