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 |
生命值参数。
|
Members
-
heightint
-
生命值高度,单位是像素。
-
offsetXint
-
生命值在X方向的偏移量,单位是像素。
-
offsetYint
-
生命值在Y方向的偏移量, 单位是像素。
-
positionSuperMap.Plot.Position
-
生命值相对标号的位置。
-
styleBloodVolumeStyle
-
生命值风格。
-
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 设置对象标注数据。