public class GeoGraphicObject extends Geometry3D
构造器和说明 |
---|
GeoGraphicObject()
构造一个新的GeoGraphicObject对象
|
GeoGraphicObject(GeoGraphicObject graphicObject)
根据指定的图形标绘类对象构造一个新的与其一致的图形标绘类对象。
|
GeoGraphicObject(int libID,
int Code)
根据指定军标库ID和符号code构造一个新的与其一致的图形标绘类对象。
|
限定符和类型 | 方法和说明 |
---|---|
void |
AddAvoidRegion(GeoRegion avoidRegion)
添加标号避让区
|
void |
addBloodVolume(BloodVolume bloodVolume)
添加生命值
|
void |
addLineRelation(String uuid)
添加链路线
|
boolean |
addNodeEnabled()
添加节点
|
GeoGraphicObject |
clone()
克隆一个相同的Geometry对象
|
void |
computeScalePoint(Point2D posPt,
int index)
计算比例点
|
static GeoGraphicObject |
createInstance(long handle,
boolean b)
创建标绘对象单例
|
boolean |
deleteNodeEnabled()
删除指定点,返回是否删除成功
|
void |
dispose()
释放对象所占用的资源。
|
void |
generateUuid()
生成标号的UUID
|
void |
generateUUID()
生成标号的UUID
|
boolean |
getAlgoCanSetTextContent()
获取线面标号是否可以设置文本注记
|
int |
getAlgoMaxEditPts()
获取最大编辑点个数
|
int |
getAlgoMinEditPts()
获取最小编辑点个数
|
Point2D |
getAnchorPoint()
获取标号二维锚点
|
MarkPos |
getAnnotationPosition()
设置标签内容或点标号注记位置
|
int |
getArrowBodyType()
获取箭身类型
|
int |
getArrowHeadType()
获取箭头类型
|
int |
getArrowTailType()
获取箭尾类型
|
GeoRegion |
GetAvoidRegion(int index)
获取指定索引标号避让区
|
int |
GetAvoidRegionCount()
获取标号避让区数量
|
double |
GetBloodVolume()
获取标号血条数值
|
ArrayList<BloodVolume> |
getBloodVolumes()
获取标号的生命值列表
|
double |
getCameraAltitude()
获取相机高度
|
int |
getCode()
获取军标标号
|
double |
getDashLength()
获取间断线长度
|
double[] |
getDashLine()
获取分段虚线数组
|
int |
getDashPattern()
获取间断线模板
|
boolean |
getDragLine()
获取是否设置牵引线
|
boolean |
getDrawWall()
获取是否绘制墙
|
String |
getEndAssociation()
获取链路结束标号
|
double |
getExtendHeight()
获取拉伸高度
|
boolean |
getFillColorLimit()
获取填充颜色限定
|
boolean |
getFillLimit() |
Point3Ds |
getFittingPoints()
获取拟合点
|
boolean |
getFontColorLimit()
获取前景色限定
|
Color |
getGapColor()
获取间断线颜色
|
Rectangle2D |
getGOBounds()
获取对象包围盒
|
double |
getGrid3DMainLineWidth()
获取三维线宽
|
double |
getGrid3DSurroundLineWidth()
获取三维标号衬线宽度
|
Size2D |
getGridSymbolSize()
获取点标号公告板模式大小
|
boolean |
getHorizontalMirror()
获取是否水平镜像
|
GeoGraphicObject[] |
getInnerCells()
适用于B/S二维标绘,获取图元点串
|
Point2Ds |
getInnerPositionPoints()
获取几何对象的内点。
|
int |
getLibID()
获取标号军标库ID
|
boolean |
getLimitWidthHeight()
获取二维点标号是否宽高锁定
|
boolean |
getLineArrowShow()
获取是否显示路径线箭头
|
boolean |
getLineColorLimit()
获取线色限定
|
boolean |
getLineCurve()
获取是否显示为曲线
|
String[] |
getLineRelations()
获取所有链路
|
boolean |
getLineShow()
获取是否显示路径线
|
boolean |
getLineTextAvoid()
获取是否避让文字
|
boolean |
getLineTypeLimit()
获取线类型限定
|
boolean |
getLineWidthLimit()
设置线宽限定
|
double |
getMainLineWidth3D()
获取三维线宽
|
boolean |
getMarkHalo()
获取三维字体是否按标签形式显示
|
int |
getMaxSubSymbols()
获取线面标号最多可设置的子标号个数
|
Rectangle2D |
getMiddleMarkBounds()
获取中间注记的范围
|
boolean |
getMiddleMarkExist()
标号是否有中间注记
|
int |
getModelID()
获取模型ID
|
String |
getModelPath()
获取点标号模型模式的模型路径
|
Point3D |
getModelRotate()
获取点标号模型模式旋转角度
|
Point3D |
getModelScale()
获取点标号模型模式缩放比例
|
boolean |
getNegativeImage()
获取点标号镜像
|
String |
getPathContentText()
获取注记内容
|
String |
getPicturePath()
获取点标号图片模式的图片路径
|
Size2D |
getPictureSize()
获取点标号图片模式的图片大小
|
Size2D |
getPictureSize2D()
获取点标号图片模式的图片大小
|
Point3Ds |
getPositionPoints()
获取三维位置点数组
|
RelLineText |
getRelLineText()
获取沿线注记位置
|
Point3D |
getRotate2D()
获取二维标号矢量模式旋转角度
|
Point3D |
getRotate3D()
获取三维标号矢量模式旋转角度
|
boolean |
getRoundBox()
是否是显示圆角边框
|
boolean |
getRoundCorner()
获取拐角是否做圆角处理
|
Point3D |
getScale2D()
获取二维标号矢量模式缩放比例
|
double |
getScale3D()
获取三维标号矢量模式缩放比例
|
boolean |
getScaleByMap()
获取点标号是否随图缩放
|
Point3Ds |
getScalePoints()
获取标号比例点数组
|
double |
getScaleValue(int index)
获取指定比例值
|
double[] |
getScaleValues()
获取比例值数组
|
DotShowMode |
getShowMode()
获取点标号显示模式
|
double |
getShowTipLength()
获取三维字体标签高度
|
double |
getSpace()
获取注记与标号间的距离
|
String |
getStartAssociation()
获取链路起始标号
|
SubSymbol[] |
getSubSymbols()
获取子标号数组
|
Color |
getSurroundLineColor()
获取衬线色
|
boolean |
getSurroundLineFlag()
获取图元是否是衬线图元
|
boolean |
getSurroundLineLimit()
设置衬线限定
|
SurroundLineType |
getSurroundLineType()
获取衬线类型
|
double |
getSurroundLineWidth2D()
获取二维衬线宽度
|
double |
getSurroundLineWidth3D()
获取三维衬线宽度
|
String |
getSymbolName()
获取标号名称
|
int |
getSymbolRank()
获取标号级别
|
int[] |
getSymbolRanks()
获取符号包含级别的列表
|
Size2D |
getSymbolSize()
获取标号大小
|
GraphicObjectType |
getSymbolType()
获取标号类型
|
int |
getTextBoxType()
获取矩形边框类型
|
String |
getTextContent()
获取标签内容或点标号注记内容
|
TextStyle |
getTextStyle2D()
获取二维文本的样式
|
TextStyle |
getTextStyle3D()
获取三维文本的样式
|
int |
getTextToLineDis()
获取文字到线的距离
|
TractionLine |
getTractionLine()
获取牵引线
|
String |
getUuID() |
String |
getUUID()
获取标号的UUID
|
Point3D |
getVectorRotate()
获得三维矢量模式旋转角度
|
Point3D |
getVectorScale()
获取三维标号矢量模式缩放比例
|
boolean |
getVerticalMirror()
获取是否垂直镜像
|
double |
getWallHeight()
获取墙高度
|
int |
GetWallOpaqueRate()
获取墙的透明度
|
double |
getWholeHeight()
获取整体高度
|
boolean |
isCanFill()
获取是否可以填充。
|
boolean |
isClosedFigure()
判断标号是否属于闭合图形
|
boolean |
isPolybezierClose()
获取用于标记符号库点标号贝塞尔图元是否闭合
|
boolean |
isPolylineConnectLocationPoint()
直线是否连接各定位点,否则构建闭合贝塞尔曲线
|
boolean |
IsShowBloodVolume()
是否显示血条
|
boolean |
isVisible()
获取是否可见
|
boolean |
RemoveAllAvoidRegion()
移除标号所有避让区
|
boolean |
RemoveAvoidRegion(int index)
移除标号指定索引避让区
|
void |
removeBloodVolume(int index)
移除指定索引的生命值
|
void |
removeLineRelation(String uuid)
移除链路线
|
void |
setAnnotationPosition(MarkPos annotationPosition)
获取标签内容或点标号注记位置
|
void |
setArrowBodyType(int type)
设置箭身类型
|
void |
setArrowHeadType(int type)
设置箭头类型
|
void |
setArrowTailType(int type)
设置箭尾类型
|
void |
SetAvoidRegion(GeoRegion avoidRegion,
int index)
设置指定索引标号避让区
|
void |
SetBloodVolume(double bloodVolume)
设置标号血条数值
|
void |
setBloodVolume(int index,
BloodVolume bloodVolume)
设置指定索引的生命值
|
void |
setCameraAltitude(double cameraAltitude)
设置相机高度
|
void |
setCode(int code)
设置军标标号
|
void |
setDashLength(double dashLength)
设置间断线长度
|
void |
setDashLine(double[] dashLines)
设置分段虚线
|
void |
setDashPattern(int dashPattern)
设置间断线模板
|
void |
setDragLine(boolean value)
设置是否设置牵引线
|
void |
setDrawWall(boolean value)
设置是否绘制墙
|
void |
setEndAssociation(String uuid)
设置链路结束标号
|
void |
setExtendHeight(double extendHeight)
设置拉伸高度
|
void |
setFillColorLimit(boolean fillColorLimit)
设置填充颜色限定
|
void |
setFillLimit(boolean fillLimit)
设置填充限定
|
void |
setFontColorLimit(boolean fontColorLimit)
设置前景色限定
|
void |
setGapColor(Color gapColor)
设置间断线颜色
|
void |
setGrid3DMainLineWidth(double grid3DMainLineWidth)
设置三维线宽
|
void |
setGrid3DSurroundLineWidth(double grid3DSurroundLineWidth)
设置三维标号衬线宽度
|
void |
setGridSymbolSize(Size2D value)
设置点标号公告板模式大小
|
void |
setHorizontalMirror(boolean value)
设置是否水平镜像
|
void |
setLibID(int libId)
设置标号军标库ID
|
void |
setLimitWidthHeight(boolean limitWidthHeight)
设置二维点标号是否宽高锁定
|
void |
setLineArrowShow(boolean bShowPathlineArrow)
设置是否显示路径线箭头
|
void |
setLineColorLimit(boolean lineColorLimit)
设置线色限定
|
void |
setLineCurve(boolean bCurve)
设置是否显示为曲线
|
void |
setLineShow(boolean bShowPathline)
设置是否显示路径线
|
void |
setLineTextAvoid(boolean bTextAvoid)
设置沿线注记设置沿线是否文字避让。
|
void |
setLineTypeLimit(boolean lineTypeLimit)
设置线类型限定
|
void |
setLineWidthLimit(boolean lineWidthLimit)
获取线宽限定
|
void |
setMainLineWidth3D(double mainLineWidth3D)
设置三维线宽
|
void |
setMarkHalo(boolean markHalo)
设置三维字体是否按标签形式显示
|
void |
setModelID(int modelID)
设置模型ID
|
void |
setModelPath(String modelPath)
设置点标号模型模式的模型路径
|
void |
setModelRotate(Point3D modelRotate)
设置点标号模型模式旋转角度
|
void |
setModelScale(Point3D modelScale)
设置点标号模型模式缩放比例
|
void |
setNegativeImage(boolean negativeImage)
设置点标号镜像
|
void |
setPathContentText(String strPathText)
设置注记内容
|
void |
setPicturePath(String picturePath)
设置点标号图片模式的 图片路径
|
void |
setPictureSize(Size2D pictureSize)
设置点标号图片模式的图片大小
|
void |
setPictureSize2D(Size2D pictureSize)
设置点标号图片模式的图片大小
|
void |
setPolybezierClose(boolean isClose)
设置用于标记符号库点标号贝塞尔图元是否闭合
|
void |
setPolylineConnectLocationPoint(boolean value)
设置直线连接各定位点
|
void |
setPositionPoints(Point3Ds positionPoints)
设置三维位置点数组
|
void |
setRelLineText(RelLineText relLineText)
设置沿线注记位置。
|
void |
setRotate2D(Point3D rotate2D)
设置二维标号矢量模式旋转角度
|
void |
setRotate3D(Point3D rotate3D)
设置三维标号矢量模式旋转角度
|
void |
setRoundBox(boolean roundBox)
设置是否显示圆角边框
|
void |
setRoundCorner(boolean roundCorner)
设置拐角是否做圆角处理
|
void |
setScale2D(Point3D scale2D)
设置二维标号矢量模式缩放比例
|
void |
setScale3D(double x)
设置三维标号矢量模式缩放比例
|
void |
setScaleByMap(boolean scaleByMap)
设置点标号是否随图缩放
|
void |
setScalePoints(Point3Ds scalePoints)
设置标号比例点数组
|
void |
setScaleValue(int index,
double scaleValue)
设置指定比例值
|
void |
setScaleValues(double[] scaleValues)
设置比例值数组
|
void |
SetShowBloodVolume(boolean isShow)
设置是否显示血条
|
void |
setShowMode(DotShowMode showMode)
设置点标号显示模式
|
void |
setShowTipLength(double showTipLength)
设置三维字体标签高度
|
void |
setSpace(double value)
设置注记与标号间的距离
|
void |
setStartAssociation(String uuid)
设置链路起始标号
|
void |
setSubSymbols(int index,
SubSymbol symbol)
设置子标号数组
|
void |
setSurroundLineColor(Color surroundLineColor)
设置衬线色
|
void |
setSurroundLineFlag(boolean surroundLineFlag)
设置是否是衬线图元
|
void |
setSurroundLineLimit(boolean surroundLineLimit)
获取衬线限定
|
void |
setSurroundLineType(SurroundLineType surroundLineType)
设置衬线类型
|
void |
setSurroundLineWidth2D(double surroundLineWidth2D)
设置二维衬线宽度
|
void |
setSurroundLineWidth3D(double surroundLineWidth3D)
设置三维衬线宽度
|
void |
setSymbolRank(int symbolRank)
设置标号级别
|
void |
setSymbolSize(Size2D value)
设置标号大小
|
void |
setTextBoxType(int value)
设置矩形边框类型
|
void |
setTextContent(String textContent)
设置标签内容或点标号注记内容
|
void |
setTextStyle2D(TextStyle textStyle2D)
设置二维文本的样式
|
void |
setTextStyle3D(TextStyle textStyle3D)
设置三维文本的样式
|
void |
setTextToLineDis(int dis)
设置文字到线的距离
|
void |
setTractionLine(TractionLine tractionLine)
设置牵引线
|
void |
setVectorRotate(Point3D vectorRotate)
设置三维矢量模式旋转角度
|
void |
setVectorScale(Point3D vectorScale)
设置三维标号矢量模式比例值
|
void |
setVerticalMirror(boolean value)
设置是否垂直镜像
|
void |
setVisible(boolean value)
设置是否可见
|
void |
setWallHeight(double wallHeight)
设置墙高度
|
void |
SetWallOpaqueRate(int value)
设置墙的透明度
|
void |
setWholeHeight(double wholeHeight)
设置整体高度
|
convertToGeoModel3D, convertToGeoModel3D, convertToGeoModel3D, getBoundingBox, getGeoModel, getInnerPoint3D, getPosition, getRotationX, getRotationY, getRotationZ, getScaleX, getScaleY, getScaleZ, getStyle3D, getVolume, offset, setPosition, setRotationX, setRotationY, setRotationZ, setScaleX, setScaleY, setScaleZ, setStyle3D
public GeoGraphicObject()
public GeoGraphicObject(GeoGraphicObject graphicObject)
graphicObject
- 图形标绘类对象public GeoGraphicObject(int libID, int Code)
libID
- 军标库IDCode
- 军标标号public GeoGraphicObject clone()
public void dispose()
dispose
在接口中 IDisposable
dispose
在类中 Geometry
public Rectangle2D getGOBounds()
public int getArrowHeadType()
public void setArrowHeadType(int type)
type
- 箭头类型public int getArrowTailType()
public void setArrowTailType(int type)
type
- 箭尾类型public int getArrowBodyType()
public void setArrowBodyType(int type)
type
- 箭身类型public TextStyle getTextStyle2D()
public void setTextStyle2D(TextStyle textStyle2D)
textStyle2D
- 二维文本的样式public TextStyle getTextStyle3D()
public void setTextStyle3D(TextStyle textStyle3D)
textStyle3D
- 三维文本的样式public Point3D getScale2D()
public void setScale2D(Point3D scale2D)
scale2D
- 缩放比例public Point3D getRotate2D()
public void setRotate2D(Point3D rotate2D)
rotate2D
- 旋转角度public Point3D getRotate3D()
public void setRotate3D(Point3D rotate3D)
rotate3D
- 旋转角度public Point3D getVectorScale()
public void setVectorScale(Point3D vectorScale)
vectorScale
- 指定的比例值public Point3D getVectorRotate()
public void setVectorRotate(Point3D vectorRotate)
vectorRotate
- 三维矢量模式旋转角度public Point3D getModelScale()
public void setModelScale(Point3D modelScale)
modelScale
- 缩放比例public Point3D getModelRotate()
public void setModelRotate(Point3D modelRotate)
modelRotate
- 旋转角度public void setScale3D(double x)
x
- 模式缩放比例public double getScale3D()
public int getLibID()
public void setLibID(int libId)
libId
- 军标库IDpublic int getCode()
public void setCode(int code)
code
- 军标标号public GraphicObjectType getSymbolType()
public String getSymbolName()
public DotShowMode getShowMode()
public void setShowMode(DotShowMode showMode)
showMode
- 标号显示模式public boolean getNegativeImage()
public void setNegativeImage(boolean negativeImage)
negativeImage
- 是否显示标号镜像public int getSymbolRank()
public void setSymbolRank(int symbolRank)
symbolRank
- 标号级别public boolean getScaleByMap()
public void setScaleByMap(boolean scaleByMap)
scaleByMap
- 是否随图缩放public boolean getLimitWidthHeight()
public void setLimitWidthHeight(boolean limitWidthHeight)
limitWidthHeight
- 是否宽高锁定public double getGrid3DMainLineWidth()
public void setGrid3DMainLineWidth(double grid3DMainLineWidth)
grid3DMainLineWidth
- 三维线宽public double getGrid3DSurroundLineWidth()
public void setGrid3DSurroundLineWidth(double grid3DSurroundLineWidth)
grid3DSurroundLineWidth
- 衬线宽度public int getModelID()
public void setModelID(int modelID)
modelID
- 模型IDpublic String getModelPath()
public void setModelPath(String modelPath)
modelPath
- 模型路径public String getPicturePath()
public void setPicturePath(String picturePath)
picturePath
- 图片路径public double getExtendHeight()
public void setExtendHeight(double extendHeight)
extendHeight
- 拉伸高度public double getWholeHeight()
public void setWholeHeight(double wholeHeight)
wholeHeight
- 整体高度public double getWallHeight()
public void setWallHeight(double wallHeight)
wallHeight
- 墙高度public boolean getRoundCorner()
public void setRoundCorner(boolean roundCorner)
roundCorner
- 拐角是否做圆角处理public boolean getRoundBox()
public void setRoundBox(boolean roundBox)
roundBox
- 设置是否显示圆角边框public double getCameraAltitude()
public void setCameraAltitude(double cameraAltitude)
cameraAltitude
- 相机高度public SurroundLineType getSurroundLineType()
public void setSurroundLineType(SurroundLineType surroundLineType)
surroundLineType
- public double getSurroundLineWidth2D()
public void setSurroundLineWidth2D(double surroundLineWidth2D)
surroundLineWidth2D
- 二维衬线宽度public double getSurroundLineWidth3D()
public void setSurroundLineWidth3D(double surroundLineWidth3D)
surroundLineWidth3D
- 三维衬线宽度public Color getSurroundLineColor()
public void setSurroundLineColor(Color surroundLineColor)
surroundLineColor
- 衬线色public String getTextContent()
public void setTextContent(String textContent)
textContent
- 注记内容public MarkPos getAnnotationPosition()
public void setAnnotationPosition(MarkPos annotationPosition)
annotationPosition
- 注记位置public double getShowTipLength()
public void setShowTipLength(double showTipLength)
showTipLength
- 三维字体标签高度public boolean getMarkHalo()
public void setMarkHalo(boolean markHalo)
markHalo
- 是否按标签形式显示public double getMainLineWidth3D()
public void setMainLineWidth3D(double mainLineWidth3D)
mainLineWidth3D
- 三维线宽public boolean getLineTypeLimit()
public void setLineTypeLimit(boolean lineTypeLimit)
lineTypeLimit
- 线类型限定public boolean getLineWidthLimit()
public void setLineWidthLimit(boolean lineWidthLimit)
lineWidthLimit
- 线宽限定public boolean getLineColorLimit()
public void setLineColorLimit(boolean lineColorLimit)
lineColorLimit
- 线色限定public boolean getFillLimit()
public void setFillLimit(boolean fillLimit)
fillLimit
- 填充限定public boolean getFillColorLimit()
public void setFillColorLimit(boolean fillColorLimit)
fillColorLimit
- 填充颜色限定public boolean getSurroundLineLimit()
public void setSurroundLineLimit(boolean surroundLineLimit)
surroundLineLimit
- 衬线限定public boolean getFontColorLimit()
public void setFontColorLimit(boolean fontColorLimit)
fontColorLimit
- 前景色限定public boolean getSurroundLineFlag()
public void setSurroundLineFlag(boolean surroundLineFlag)
surroundLineFlag
- 是否是衬线图元public Point3Ds getPositionPoints()
public Point3Ds getFittingPoints()
public void setPositionPoints(Point3Ds positionPoints)
positionPoints
- 三维位置点数组public int getMaxSubSymbols()
public boolean getAlgoCanSetTextContent()
public SubSymbol[] getSubSymbols()
public void setSubSymbols(int index, SubSymbol symbol)
index
- 索引symbol
- 子标号public double[] getScaleValues()
public void setScaleValues(double[] scaleValues)
scaleValues
- 比例值数组public Size2D getSymbolSize()
public void setSymbolSize(Size2D value)
symbolSize
- 标号大小public Size2D getGridSymbolSize()
public void setGridSymbolSize(Size2D value)
gridSymbolSize
- 点标号公告板模式大小public Size2D getPictureSize()
public void setPictureSize(Size2D pictureSize)
pictureSize
- 图片大小public Size2D getPictureSize2D()
public void setPictureSize2D(Size2D pictureSize)
pictureSize
- 图片大小public GeoGraphicObject[] getInnerCells()
public Point2Ds getInnerPositionPoints()
public void computeScalePoint(Point2D posPt, int index)
posPt
- 比例点index
- 比例点索引public Point2D getAnchorPoint()
public Point3Ds getScalePoints()
public void setScalePoints(Point3Ds scalePoints)
scalePoints
- public int[] getSymbolRanks()
public boolean getMiddleMarkExist()
public int getAlgoMaxEditPts()
public int getAlgoMinEditPts()
public Rectangle2D getMiddleMarkBounds()
public boolean isCanFill()
public boolean isPolybezierClose()
public void setPolybezierClose(boolean isClose)
isClose
- 是否闭合public String getUuID()
public String getUUID()
public void generateUuid()
public void generateUUID()
public boolean IsShowBloodVolume()
public void SetShowBloodVolume(boolean isShow)
isShow
- 是否显示血条public double GetBloodVolume()
public void SetBloodVolume(double bloodVolume)
bloodVolume
- 血条数值public void AddAvoidRegion(GeoRegion avoidRegion)
avoidRegion
- 标号避让区public void SetAvoidRegion(GeoRegion avoidRegion, int index)
avoidRegion
- 标号避让区index
- 索引public GeoRegion GetAvoidRegion(int index)
index
- 索引public int GetAvoidRegionCount()
public boolean RemoveAvoidRegion(int index)
index
- 索引public boolean RemoveAllAvoidRegion()
public int GetWallOpaqueRate()
public void SetWallOpaqueRate(int value)
value
- 墙的透明度public boolean getDrawWall()
public void setDrawWall(boolean value)
value
- 是否绘制墙public boolean getHorizontalMirror()
public void setHorizontalMirror(boolean value)
value
- 是否水平镜像public boolean getVerticalMirror()
public void setVerticalMirror(boolean value)
value
- 是否垂直镜像public double getSpace()
public void setSpace(double value)
value
- 注记与标号间的距离public double getScaleValue(int index)
index
- 指定的索引public void setScaleValue(int index, double scaleValue)
index
- 指定的索引scalevalue
- 指定的比例值public boolean getDragLine()
public void setDragLine(boolean value)
value
- 是否设置牵引线public boolean isVisible()
public void setVisible(boolean value)
value
- 是否可见public void setTextBoxType(int value)
value
- 矩形边框类型public int getTextBoxType()
矩形边框类型
- public void setStartAssociation(String uuid)
uuid
- 标号uuidpublic String getStartAssociation()
public void setEndAssociation(String uuid)
uuid
- 标号uuidpublic String getEndAssociation()
public String[] getLineRelations()
public void addLineRelation(String uuid)
uuid
- 链路uuidpublic void removeLineRelation(String uuid)
uuid
- 移除uuidpublic int getDashPattern()
public void setDashPattern(int dashPattern)
dashPattern
- 间断线模板public double getDashLength()
public void setDashLength(double dashLength)
dashLength
- 间断线长度public Color getGapColor()
public void setGapColor(Color gapColor)
gapColor
- 间断线颜色public boolean addNodeEnabled()
public boolean deleteNodeEnabled()
public boolean isClosedFigure()
public boolean isPolylineConnectLocationPoint()
public void setPolylineConnectLocationPoint(boolean value)
value
- 是否连接public ArrayList<BloodVolume> getBloodVolumes()
public void setBloodVolume(int index, BloodVolume bloodVolume)
index
- 指定索引bloodVolume
- 要设置的生命值public void addBloodVolume(BloodVolume bloodVolume)
bloodVolume
- 要添加的生命值public void removeBloodVolume(int index)
index
- 指定索引public TractionLine getTractionLine()
public void setTractionLine(TractionLine tractionLine)
tractionLine
- 牵引线public void setRelLineText(RelLineText relLineText)
relText
- 沿线注记位置public void setLineTextAvoid(boolean bTextAvoid)
bTextAvoid
- 文字是否避让public void setLineCurve(boolean bCurve)
bCurve
- 是否为曲线public void setLineShow(boolean bShowPathline)
bShowPathline
- 是否显示路径线public void setLineArrowShow(boolean bShowPathlineArrow)
bShowPathlineArrow
- 是否显示路径线箭头public void setTextToLineDis(int dis)
dis
- 文字到线的距离public void setPathContentText(String strPathText)
strPathText
- 注记内容public String getPathContentText()
public RelLineText getRelLineText()
public boolean getLineTextAvoid()
public boolean getLineCurve()
public boolean getLineShow()
public boolean getLineArrowShow()
public int getTextToLineDis()
public double[] getDashLine()
public void setDashLine(double[] dashLines)
dashLines
- 分段虚线数组public static GeoGraphicObject createInstance(long handle, boolean b)
handle
- 指针Copyright © 2021–2024 SuperMap. All rights reserved.