public class Point extends VectorElement
swigCMemOwn
构造器和说明 |
---|
Point(long cPtr,
boolean cMemoryOwn) |
Point(MapPos pos,
PointStyle style)
Constructs a Point object from a map position and a style.
|
Point(PointGeometry geometry,
PointStyle style)
Constructs a Point object from a geometry object and a style.
|
Point(java.lang.String pointWkt,
PointStyle style)
通过点 的WKT来创建
|
Point(java.lang.String geoJson,
PointStyle style,
Projection proj)
通过 geojson来创建Point
|
限定符和类型 | 方法和说明 |
---|---|
void |
delete() |
protected void |
finalize() |
static long |
getCPtr(Point obj) |
PointGeometry |
getGeometry()
返回描述矢量元素空间位置的几何对象。
|
MapPos |
getPos()
Returns the location of this point.
|
PointStyle |
getStyle()
Returns the style of this point.
|
void |
setGeometry(PointGeometry geometry)
Sets the location for this point.
|
void |
setPos(MapPos pos)
Sets the location of this point.
|
void |
setStyle(PointStyle style)
Sets a style for this point.
|
static Point |
swigCreatePolymorphicInstance(long cPtr,
boolean cMemoryOwn)
Creates a polymorphic instance of the given native object.
|
java.lang.String |
swigGetClassName()
Returns the actual class name of this object.
|
java.lang.Object |
swigGetDirectorObject()
Returns the connected director object.
|
attachTerrain, attachTerrain, autoNotifyElementChanged, equals, getBounds, getCPtr, getId, getInternalElevation, getMetaData, getMetaDataElement, hashCode, hasInternalElevation, isVisible, notifyElementChanged, setId, setMetaData, setMetaDataElement, setVisible
public Point(long cPtr, boolean cMemoryOwn)
public Point(java.lang.String geoJson, PointStyle style, Projection proj)
geoJson
- style
- proj
- public Point(java.lang.String pointWkt, PointStyle style)
pointWkt
- style
- public Point(PointGeometry geometry, PointStyle style)
geometry
- The geometry object that defines the location of this point.style
- The style that defines what this point looks like.public Point(MapPos pos, PointStyle style)
pos
- The map position that defines the location of this point.style
- The style that defines what this point looks like.public static long getCPtr(Point obj)
protected void finalize()
finalize
在类中 VectorElement
public void delete()
delete
在类中 VectorElement
public static Point swigCreatePolymorphicInstance(long cPtr, boolean cMemoryOwn)
cPtr
- The native pointer of the instance.cMemoryOwn
- The ownership flag.public PointGeometry getGeometry()
VectorElement
getGeometry
在类中 VectorElement
public void setGeometry(PointGeometry geometry)
geometry
- The new geometry object that defines the location of this point.public MapPos getPos()
public void setPos(MapPos pos)
pos
- The new map position that defines the location of this point.public PointStyle getStyle()
public void setStyle(PointStyle style)
style
- The new style that defines what this point looks like.public java.lang.String swigGetClassName()
swigGetClassName
在类中 VectorElement
public java.lang.Object swigGetDirectorObject()
swigGetDirectorObject
在类中 VectorElement