Package com.luciad.view.lightspeed.style
Enum Class TLsp3DIconStyle.ScalingMode
java.lang.Object
java.lang.Enum<TLsp3DIconStyle.ScalingMode>
com.luciad.view.lightspeed.style.TLsp3DIconStyle.ScalingMode
- All Implemented Interfaces:
Serializable
,Comparable<TLsp3DIconStyle.ScalingMode>
,Constable
- Enclosing class:
TLsp3DIconStyle
Mode that indicates how the icon size is determined.
- 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 ConstantDescriptionMode indicating that the icon's resulting size is obtained by scaling the icon with the icon size set on this style.Mode indicating that the icon's resulting size is obtained by scaling the icon so that its largest bounding box size in world coordinates corresponds to the pixel size set on the this style.Mode indicating that the icon's resulting size is obtained by scaling the icon so that its largest bounding box size in world coordinates corresponds to the world size set on the this style. -
Method Summary
Modifier and TypeMethodDescriptionstatic TLsp3DIconStyle.ScalingMode
Returns the enum constant of this class with the specified name.static TLsp3DIconStyle.ScalingMode[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SCALE_FACTOR
Mode indicating that the icon's resulting size is obtained by scaling the icon with the icon size set on this style. -
WORLD_SCALING
Mode indicating that the icon's resulting size is obtained by scaling the icon so that its largest bounding box size in world coordinates corresponds to the world size set on the this style. -
VIEW_SCALING
Mode indicating that the icon's resulting size is obtained by scaling the icon so that its largest bounding box size in world coordinates corresponds to the pixel size set on the this style.
-
-
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
-