public static enum TLcdGXYIconPainter.ScalingMode extends Enum<TLcdGXYIconPainter.ScalingMode>
Enum Constant and Description |
---|
METER
The icon size is defined as
getScale * ( original icon size in pixels ) * 1 meter/pixel. |
PIXEL
The icon size is defined as
getScale * ( original icon size in pixels ). |
Modifier and Type | Method and Description |
---|---|
static TLcdGXYIconPainter.ScalingMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TLcdGXYIconPainter.ScalingMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TLcdGXYIconPainter.ScalingMode PIXEL
getScale
* ( 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.public static final TLcdGXYIconPainter.ScalingMode METER
getScale
* ( 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.public static TLcdGXYIconPainter.ScalingMode[] values()
for (TLcdGXYIconPainter.ScalingMode c : TLcdGXYIconPainter.ScalingMode.values()) System.out.println(c);
public static TLcdGXYIconPainter.ScalingMode valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null