public static enum TLspIconStyle.ScalingMode extends Enum<TLspIconStyle.ScalingMode>
Enum Constant and Description |
---|
VIEW_SCALING
Fixed size in pixels, the size on the map will be independent of camera
settings.
|
WORLD_SCALING
Fixed size in meters.
|
WORLD_SCALING_CLAMPED
Icon size defined in meters, but never larger than the size determined by
the native size and the scale factor.
|
Modifier and Type | Method and Description |
---|---|
static TLspIconStyle.ScalingMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TLspIconStyle.ScalingMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TLspIconStyle.ScalingMode WORLD_SCALING
TLspIconStyle.getWorldSize()
public static final TLspIconStyle.ScalingMode VIEW_SCALING
TLspIconStyle.getScale()
public static final TLspIconStyle.ScalingMode WORLD_SCALING_CLAMPED
public static TLspIconStyle.ScalingMode[] values()
for (TLspIconStyle.ScalingMode c : TLspIconStyle.ScalingMode.values()) System.out.println(c);
public static TLspIconStyle.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