| Name | Type | Description | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
Object |
optional
对象具有以下属性:
|
Extends
Methods
-
clone() → ParameterSignProperty
-
克隆
Returns:
克隆对象 -
获取二维Billboard标牌的缩放
Returns:
缩放- Inherited From:
-
获取标牌内容框样式
Returns:
标牌内容框样式(object详见setContentFrameStyle()接口) -
获取牵引线长度
Returns:
牵引线长度- Inherited From:
-
获取标牌牵引线旋转角度
Returns:
牵引线旋转角度- Inherited From:
-
获取牵引线样式
Returns:
样式- Inherited From:
-
getMovingTargetSignType() → MovingTargetSignType
-
获取标牌类型
Returns:
标牌类型- Inherited From:
-
getSignEffectType() → SignEffectType
-
获取初始参数样式类型
Returns:
初始参数样式类型 -
getSignRenderMode() → SignRenderMode
-
获取标牌渲染模式
Returns:
返回渲染模式- Inherited From:
-
获取标牌文本数组
Returns:
文本数组 -
获取标牌文本样式数组
Returns:
文本样式数组(object对象见:setTextStyles()接口) -
获取标牌标题
Returns:
标牌标题 -
获取标牌标题框样式
Returns:
标牌标题框样式(object详见setTitleFrameStyle()接口) -
获取标牌标题样式
Returns:
标牌标题样式(object详见setTitleStyle()接口) -
获取标牌托盘样式
Returns:
标牌托盘样式(setTrayStyle()接口) -
获取标牌是否显示牵引线
Returns:
返回是否显示牵引线- Inherited From:
-
设置二维Billboard标牌的缩放。当 signRenderMode == SignRenderMode.Billboard 时生效
Name Type Description billboardScaleNumber 缩放 - Inherited From:
-
设置标牌内容框样式
Name Type Description contentFrameStyleObject 标牌内容框样式 Name Type Description visibleBoolean 是否显示 lineWidthNumber 线宽(mm) lineColorArray.<Color> 线色(例:[Cesium.Color(1, 0, 0, 1)]) lineColorGradientTypeColorGradientType 颜色渐变类型(例:ColorGradientType.Horizontal 横向渐变) lineDashString 虚线间隔(单位:mm) backgroundColorArray.<Color> 背景色(例例:[Cesium.Color(1, 0, 0, 0.4)]) backgroundColorGradientTypeColorGradientType 颜色渐变类型(例:ColorGradientType.Horizontal 横向渐变) arcCornerString 是否圆角(boolean) imagePathString 背景图片(例:"http://localhost:8090/iserver/mgis/situationSimulation/Sign/科技.png") -
设置标牌牵引线长度(单位:mm)
Name Type Description indecatorLineLengthNumber 牵引线长度 - Inherited From:
-
设置牵引线旋转角度(以屏幕X轴正向为0,逆时针方向为正的角度,单位:度)
Name Type Description indecatorLineRotationNumber 旋转角度 - Inherited From:
-
设牵引线样式
Name Type Description indecatorLineStyleObject 样式 Name Type Description lineWidthNumber 线宽(mm) aryLineColorsArray.<Color> 线色(例:[MGIS_SuperMap3D.Color(255, 0, 0, 1)]) - Inherited From:
-
设置是否显示牵引线
Name Type Description showIndecatorLineboolean 是否显示牵引线 - Inherited From:
-
设置初始参数样式类型
Name Type Description signEffectTypeSignEffectType 类型 -
设置标牌渲染模式,不支持三维模式(SignRenderMode.Solid)
Name Type Description signRenderModeSignRenderMode 渲染模式 - Inherited From:
-
设置标牌文本数组
Name Type Description textsArray.<String> 文本数组 -
设置标牌内容文本样式
Name Type Description textStyleObject 标牌内容文本样式 Name Type Description visibleBoolean 是否显示 colorColor 文字颜色(例:Cesium.Color(1255, 0, 0, 1)) fontFamilyString 字体系列 fontStyleString 字体样式(例:1.默认值:normal(正常) 2.italic(倾斜)) fontSizeString 字体大小(单位:mm) fontWeightString 字体粗细(例:1.关键字normal(正常)bold(加粗) 2.纯数字100-900的整百数 400(正常) 700加粗) indexNumber 标牌内容指定行索引,如果未设置默认为所有内容样式 -
设置标牌文本样式数组(文本样式数组需与文本数组一一对应)
Name Type Description textStylesArray 文本样式数组 textStyleObject 文本样式JSON对象 Name Type Description colorColor 标牌文本颜色字符串(例:Cesium.Color(1, 0, 0, 1)) fontFamilyString 标牌文本字体 Arial | Helvetica | ... (例:"Microsoft YaHei") fontStyleString 标牌文本样式 italic | oblique (例:"normal") fontSizeNumber 标牌文本大小(单位:mm) fontWeightString 标牌文本粗细 normal | bold | bolder | lighter | 100 | 200 | 300 | ... | 900 (例:"400") -
设置标牌标题
Name Type Description titleString 标牌标题 -
设置标牌标题框样式
Name Type Description titleFrameStyleObject 标牌标题框样式 Name Type Description visibleBoolean 是否显示 lineWidthNumber 线宽(mm) lineColorArray.<Color> 线色(例:[Cesium.Color(1, 0, 0, 1)]) lineColorGradientTypeColorGradientType 颜色渐变类型(例:ColorGradientType.Horizontal 横向渐变) lineDashString 虚线间隔(例:mm) backgroundColorArray.<Color> 背景色(例:[Cesium.Color(1, 0, 0, 0.4)]) backgroundColorGradientTypeColorGradientType 颜色渐变类型(例:ColorGradientType.Horizontal 横向渐变) arcCornerString 是否圆角(boolean) imagePathString 背景图片(例:"http://localhost:8090/iserver/mgis/situationSimulation/Sign/科技.png") -
设置标牌标题样式
Name Type Description titleStyleObject 标牌标题样式 Name Type Description visibleBoolean 是否显示 colorColor 文字颜色(例:Cesium.Color(1, 0, 0, 1)) fontFamilyString 字体系列 fontStyleString 字体样式(例:1.默认值:normal(正常) 2.italic(倾斜)) fontSizeString 字体大小(单位:mm) fontWeightString 字体粗细(例:1.关键字normal(正常)bold(加粗) 2.纯数字100-900的整百数 400(正常) 700加粗) -
设置标牌托盘样式
Name Type Description trayStyleObject 标牌托盘样式 Name Type Description visibleBoolean 是否显示 lineWidthNumber 线宽(mm) lineColorArray.<Color> 线色(例:[Cesium.Color(1, 0, 0, 1)]) lineDashString 虚线间隔(单位:mm)
