|
|||||||||
上一个类 下一个类 | 框架 无框架 | ||||||||
摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 |
java.lang.Object com.supermap.data.Geometry com.supermap.data.Geometry3D com.supermap.data.GeoBillboard
public class GeoBillboard
布告板类。该类用于在KML图层中通过设置图片或文字新建布告板。
构造方法摘要 | |
---|---|
GeoBillboard()
构造一个GeoBillboard的新对象。 |
|
GeoBillboard(GeoBillboard geoBillboard)
根据指定的参数来构造一个 GeoBillboard 的新对象。 |
方法摘要 | |
---|---|
int |
add(Geometry geometry,
java.lang.String tag)
在布告板中增加子对象。 |
Geometry |
clone()
克隆布告板。 |
void |
dispose()
释放几何对象所占有的本地资源。 |
Geometry |
get(int index)
获取指定索引的子对象。 |
int |
getCount()
获取子对象的数量 。 |
double |
getHeight()
获取布告板的高度。 |
GeoBillboardQuality |
getQuality()
获取布告板的质量级别。 |
java.lang.String |
getTag(int index)
获取指定索引的子对象的标签。 |
double |
getWidth()
获取布告板的宽度。 |
boolean |
remove(int index)
移除指定索引的布告板子对象 。 |
boolean |
set(int index,
Geometry geometry)
将布告板中的指定的索引处的子对象设置为指定的几何对象。 |
void |
setHeight(double height)
设置布告板的高度。 |
void |
setQuality(GeoBillboardQuality quality)
设置布告板的质量级别。 |
boolean |
SetTag(int index,
java.lang.String tag)
设置指定索引的子对象的标签。 |
void |
setWidth(double width)
设置布告板的宽度。 |
从类 com.supermap.data.Geometry3D 继承的方法 |
---|
convertToGeoModel3D, convertToGeoModel3D, getBoundingBox, getGeoModel, getInnerPoint3D, getPosition, getRotationX, getRotationY, getRotationZ, getScaleX, getScaleY, getScaleZ, getStyle, getStyle3D, getVolume, hitTest, mirror, offset, resize, rotate, setPosition, setRotationX, setRotationY, setRotationZ, setScaleX, setScaleY, setScaleZ, setStyle, setStyle3D |
从类 com.supermap.data.Geometry 继承的方法 |
---|
addCustomGeometryCreatedListener, fromXML, getBounds, getID, getInnerPoint, getType, getVariantID, isEmpty, offset, removeCustomGeometryCreatedListener, setEmpty, setID, toXML |
从类 java.lang.Object 继承的方法 |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
构造方法详细信息 |
---|
public GeoBillboard()
public GeoBillboard(GeoBillboard geoBillboard)
geoBillboard
- 指定的布告板。方法详细信息 |
---|
public Geometry clone()
java.lang.Object
中的 clone
public void dispose()
Geometry
中的 dispose
public double getWidth()
public void setWidth(double width)
width
- 指定的宽度。public double getHeight()
public void setHeight(double height)
height
- 指定的高度。public GeoBillboardQuality getQuality()
public void setQuality(GeoBillboardQuality quality)
quality
- 指定的质量级别。public int getCount()
public int add(Geometry geometry, java.lang.String tag)
geometry
- 添加到布告板的子对象,目前支持GeoPicture3D和GeoText3D类型。tag
- 子对象的标签。
public boolean remove(int index)
index
- 指定的索引。
public Geometry get(int index)
index
- 指定的索引。
public boolean set(int index, Geometry geometry)
index
- 指定的索引。geometry
- 指定的几何对象。
public java.lang.String getTag(int index)
index
- 指定的索引。
public boolean SetTag(int index, java.lang.String tag)
index
- 指定的索引。tag
- 指定的子对象的标签。
|
|||||||||
上一个类 下一个类 | 框架 无框架 | ||||||||
摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 |