public static enum TLspComplexStrokedLineStyle.ScalingMode extends Enum<TLspComplexStrokedLineStyle.ScalingMode>
VIEW_SCALING
, a rectangular stroke pattern with a length
of 10 will always have a length of 10 pixels. When using WORLD_SCALING
,
it will have a length of 10 meters, so its size will vary depending on the zoom level.Enum Constant and Description |
---|
VIEW_SCALING
Sizes will be interpreted as pixels.
|
WORLD_SCALING
Sizes will be interpreted as world units (typically meters).
|
Modifier and Type | Method and Description |
---|---|
static TLspComplexStrokedLineStyle.ScalingMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TLspComplexStrokedLineStyle.ScalingMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TLspComplexStrokedLineStyle.ScalingMode VIEW_SCALING
public static final TLspComplexStrokedLineStyle.ScalingMode WORLD_SCALING
public static TLspComplexStrokedLineStyle.ScalingMode[] values()
for (TLspComplexStrokedLineStyle.ScalingMode c : TLspComplexStrokedLineStyle.ScalingMode.values()) System.out.println(c);
public static TLspComplexStrokedLineStyle.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