- All Implemented Interfaces:
Serializable
,Comparable<SymbolSizeUnits>
,Constable
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
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic SymbolSizeUnits
Returns the enum constant of this class with the specified name.static SymbolSizeUnits[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
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
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
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
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 nameNullPointerException
- if the argument is null
-