interface
|
IMapShapeGeneric
|
with
|
<out
T>
|
as
|
IMapShape
|
extends
|
IMapShape
|
||||
base of
|
HeightmapShape
|
||||
PixelPyramidShape
|
The layer of the shape.
property
|
Layer
{
get
}
|
||
type
|
int32
|
||
value
|
The shape layer. | ||
inherited
|
IMapShape.Layer
|
Remarks:
Map shapes with higher layer values are rendered on top.
The vector shape to render.
property
|
MapShape
{
get
}
|
||
type
|
IShape
|
||
value
|
|
The vector shape. | |
inherited
|
IMapShape.MapShape
|
Sets the map shape layer (see Layer).
method
|
LayerSet
(int32 layer)
|
||
type
|
T
|
||
params
|
layer
|
The shape layer. | |
returns
|
|
The resulting map shape. |
Converts the map shape to a cubemap, if necessary.
method
|
MapShapeCubemap
(float64 accuracy = 0)
|
||
type
|
T
|
||
params
|
accuracy
|
[>=0]
|
Optional
accuracy
to
use
for
subdivision
of
edges.
Given
as
a
maximum
error
in
the
target
coordinate
system.
Set
to
0
to
disable
edge
subdivision.
Defaults
to
0 .
|
returns
|
|
The resulting map shape. |
See also:
IShape.TransformCubemapSets the map shape (see MapShape).
method
|
MapShapeSet
(IShape shape)
|
||
type
|
T
|
||
params
|
shape
|
The new shape. | |
returns
|
The
resulting
map
shape
or
null
if
shape
is
null .
|
Converts the map shape to the given coordinate system.
method
|
MapShapeTransform
(CoordinateSystem coordSys,
float64 accuracy = 0)
|
||
type
|
T
|
||
params
|
coordSys
|
[not-null]
|
The target coordinate system. |
accuracy
|
[>=0]
|
Optional
accuracy
to
use
for
subdivision
of
edges.
Given
as
a
maximum
error
in
the
target
coordinate
system.
Set
to
0
to
disable
edge
subdivision.
Defaults
to
0 .
|
|
returns
|
The
resulting
map
shape
or
null
if
empty. |
Returns the configuration value that describes this object.
method
|
ToConfig
()
|
||
type
|
ConfigValue
|
||
returns
|
|
The configuration value. | |
inherited
|
IConfigurable.ToConfig
|
Remarks:
All configurable objects need to implement this interface. For simple types, it is preferable to delegate to ToValue.
The returned value may be of type Invalid, which means that this object in its current state cannot be described with the configuration API.
Before returning the resulting configuration value, Cache must be called on it, passing this IConfigurable object as parameter.