Package com.luciad.view.gxy.painter
Enum Class TLcdGXYIconPainter.ScalingMode
java.lang.Object
java.lang.Enum<TLcdGXYIconPainter.ScalingMode>
com.luciad.view.gxy.painter.TLcdGXYIconPainter.ScalingMode
- All Implemented Interfaces:
Serializable
,Comparable<TLcdGXYIconPainter.ScalingMode>
,Constable
- Enclosing class:
TLcdGXYIconPainter
Possible icon scaling modes.
-
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 TypeMethodDescriptionReturns the enum constant of this class with the specified name.static TLcdGXYIconPainter.ScalingMode[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
PIXEL
The icon size is defined asgetScale
* ( original icon size in pixels ). For example, a scale of 2 and original icon size of 16x16 pixels would result in icons taking up 32x32 pixels on the view. -
METER
The icon size is defined asgetScale
* ( original icon size in pixels ) * 1 meter/pixel. For example, a scale of 2 and original icon size of 16x16 pixels would result in the icon taking up the transformed equivalent of 32x32 meters on the view.
-
-
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
-