com.supermap.mobjects.situationsimulation
类 GeoEntityEffectTrackline
- java.lang.Object
-
- com.supermap.data.InternalHandle
-
- com.supermap.data.InternalHandleDisposable
-
- com.supermap.mobjects.situationsimulation.GeoEntityEffect
-
- com.supermap.mobjects.situationsimulation.GeoEntityEffectTrackline
-
- 所有已实现的接口:
- IDisposable
public class GeoEntityEffectTrackline extends GeoEntityEffect
尾迹线特效类
-
-
构造器概要
构造器 构造器和说明 GeoEntityEffectTrackline()
构造函数
-
方法概要
所有方法 实例方法 具体方法 限定符和类型 方法和说明 void
dispose()
释放对象ArrayList<Color>
getGradients()
获取轨迹渐变色数组。int
getShowPntCount()
获取最大显示点数。double
getStreamerWidth()
获取飘带宽度(单位: 米)。GeoStyle3D
getTrackStyle()
获取轨迹样式。TrackType
getTrackType()
获取轨迹类型。void
setGradients(ArrayList<Color> list)
设置轨迹渐变色数组。void
setShowPntCount(int nCount)
设置最大显示点数,用于控制飘带的显示长度。void
setStreamerWidth(double dWidth)
设置飘带宽度(单位: 米),当TrackType = STREAMER 时才起效。void
setTrackStyle(GeoStyle3D style)
设置轨迹样式。void
setTrackType(TrackType type)
设置轨迹类型。-
从类继承的方法 com.supermap.mobjects.situationsimulation.GeoEntityEffect
clone, fromXml, generateUuid, getOffset, getType, getUuid, isChangeSizeFlowModel, isVisible, setChangeSizeFlowModel, setOffset, setUuid, setVisible, toXml
-
-
-
-
方法详细资料
-
dispose
public void dispose()
释放对象- 指定者:
dispose
在接口中IDisposable
- 覆盖:
dispose
在类中GeoEntityEffect
-
setTrackType
public void setTrackType(TrackType type)
设置轨迹类型。- 参数:
type
- 轨迹类型。
-
getTrackType
public TrackType getTrackType()
获取轨迹类型。- 返回:
- 轨迹类型。
-
setTrackStyle
public void setTrackStyle(GeoStyle3D style)
设置轨迹样式。- 参数:
style
- 轨迹样式。
-
getTrackStyle
public GeoStyle3D getTrackStyle()
获取轨迹样式。- 返回:
- 轨迹样式。
-
setStreamerWidth
public void setStreamerWidth(double dWidth)
设置飘带宽度(单位: 米),当TrackType = STREAMER 时才起效。- 参数:
dWidth
- 飘带宽度。
-
getStreamerWidth
public double getStreamerWidth()
获取飘带宽度(单位: 米)。- 返回:
- 飘带宽度。
-
setShowPntCount
public void setShowPntCount(int nCount)
设置最大显示点数,用于控制飘带的显示长度。当设置值小于等于零时,默认显示全部点。- 参数:
nCount
- 最大显示点数。
-
getShowPntCount
public int getShowPntCount()
获取最大显示点数。- 返回:
- 最大显示点数。
-
-
Copyright © 2021–2024 SuperMap. All rights reserved.