public class Line extends VectorElement
swigCMemOwn
构造器和说明 |
---|
Line(LineGeometry geometry,
LineStyle style)
根据几何对象及样式创建线
|
Line(long cPtr,
boolean cMemoryOwn) |
Line(MapPosVector poses,
LineStyle style)
根据坐标串及样式创建线
|
Line(java.lang.String lineWkt,
LineStyle lineStyle)
通过 LINE WKT创建Line
|
Line(java.lang.String geoJson,
LineStyle style,
Projection proj)
通过GeoJson来创建Line
|
限定符和类型 | 方法和说明 |
---|---|
void |
delete() |
protected void |
finalize() |
static long |
getCPtr(Line obj) |
LineGeometry |
getGeometry()
获取线的几何对象
|
MapPosVector |
getPoses()
返回线的坐标串
|
LineStyle |
getStyle()
返回线的样式
|
void |
setGeometry(LineGeometry geometry)
设置线的几何对象
|
void |
setPoses(MapPosVector poses)
设置线的坐标串
|
void |
setStyle(LineStyle style)
设置线的样式
|
static Line |
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 Line(long cPtr, boolean cMemoryOwn)
public Line(java.lang.String geoJson, LineStyle style, Projection proj)
style
- 线的样式public Line(java.lang.String lineWkt, LineStyle lineStyle)
public Line(LineGeometry geometry, LineStyle style)
geometry
- 线的几何对象public Line(MapPosVector poses, LineStyle style)
poses
- 线的坐标串style
- 线的样式public static long getCPtr(Line obj)
protected void finalize()
finalize
在类中 VectorElement
public void delete()
delete
在类中 VectorElement
public static Line swigCreatePolymorphicInstance(long cPtr, boolean cMemoryOwn)
cPtr
- The native pointer of the instance.cMemoryOwn
- The ownership flag.public LineGeometry getGeometry()
getGeometry
在类中 VectorElement
public void setGeometry(LineGeometry geometry)
geometry
- 描述线的空间位置的几何对象public MapPosVector getPoses()
public void setPoses(MapPosVector poses)
poses
- 线的坐标串public LineStyle getStyle()
public void setStyle(LineStyle style)
style
- 线的样式public java.lang.String swigGetClassName()
swigGetClassName
在类中 VectorElement
public java.lang.Object swigGetDirectorObject()
swigGetDirectorObject
在类中 VectorElement