public static enum TLsp3DIconStyle.ScalingMode extends Enum<TLsp3DIconStyle.ScalingMode>
Enum Constant and Description |
---|
SCALE_FACTOR
Mode indicating that the icon's resulting size is obtained
by scaling the icon with the icon size set on 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.
|
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.
|
Modifier and Type | Method and Description |
---|---|
static TLsp3DIconStyle.ScalingMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TLsp3DIconStyle.ScalingMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TLsp3DIconStyle.ScalingMode SCALE_FACTOR
public static final TLsp3DIconStyle.ScalingMode WORLD_SCALING
public static final TLsp3DIconStyle.ScalingMode VIEW_SCALING
public static TLsp3DIconStyle.ScalingMode[] values()
for (TLsp3DIconStyle.ScalingMode c : TLsp3DIconStyle.ScalingMode.values()) System.out.println(c);
public static TLsp3DIconStyle.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