Package com.luciad.view.lightspeed.style
Enum Class TLspIconStyle.ScalingMode
java.lang.Object
java.lang.Enum<TLspIconStyle.ScalingMode>
com.luciad.view.lightspeed.style.TLspIconStyle.ScalingMode
- All Implemented Interfaces:
Serializable
,Comparable<TLspIconStyle.ScalingMode>
,Constable
- Enclosing class:
TLspIconStyle
The different scaling modes for icons.
- Since:
- 2012.0
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionFixed size in pixels, the size on the map will be independent of camera settings.Fixed size in meters.Icon size defined in meters, but never larger than the size determined by the native size and the scale factor. -
Method Summary
Modifier and TypeMethodDescriptionstatic TLspIconStyle.ScalingMode
Returns the enum constant of this class with the specified name.static TLspIconStyle.ScalingMode[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
WORLD_SCALING
Fixed size in meters. The actual size on the map is determined by the world size of the icon style, and the map scale at the position of the icon.- See Also:
-
VIEW_SCALING
Fixed size in pixels, the size on the map will be independent of camera settings. The size is determined by the native icon size and the scale.- See Also:
-
WORLD_SCALING_CLAMPED
Icon size defined in meters, but never larger than the size determined by the native size and the scale factor. This scaling mode can be used to reduce clutter when zoomed out, and can give a sense of distance.- See Also:
-
-
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
-