Class: BloodVolume

SuperMap.Plot.BloodVolume

生命值对象。

new SuperMap.Plot.BloodVolume(volume, position, style, options)

common/plot/BloodVolume.js, line 5
Name Type Description
volume double

生命值比例,取值为[0-1]。

position SuperMap.Plot.Position

生命值相对标号的位置,上、下、左、右。

style BloodVolumeStyle

生命值的样式。

options Object

生命值参数。

Name Type Description
offsetX float 可选

生命值在X方向的偏移量。

offsetY float 可选

生命值在Y方向的偏移量。

width float 可选

生命值的宽度。

height float 可选

生命值的高度。

Members

heightint

生命值高度,单位是像素。

offsetXint

生命值在X方向的偏移量,单位是像素。

offsetYint

生命值在Y方向的偏移量, 单位是像素。

生命值相对标号的位置。

生命值风格。

volumedouble

生命值比例,取值为[0-1]。

widthint

生命值宽度, 单位是像素。

Methods

clone(){SuperMap.Plot.BloodVolume}

common/plot/BloodVolume.js, line 99

克隆对象标注对象。

Returns:
Type Description
SuperMap.Plot.BloodVolume 克隆后的对象标注对象。

destroy()

common/plot/BloodVolume.js, line 84

销毁图形对象数据。

parseSymbolData(){SuperMap.Plot.BloodVolume}

common/plot/BloodVolume.js, line 174

解析对象标注数据。

Returns:
Type Description
SuperMap.Plot.BloodVolume 解析对象标注数据。

setSymbolData(){SuperMap.Plot.BloodVolume}

common/plot/BloodVolume.js, line 120

设置对象标注数据。

Returns:
Type Description
SuperMap.Plot.BloodVolume 设置对象标注数据。