Class: OpacityStop

OpacityStop

new OpacityStop(options)

document/renderer/visualVariable/support/OpacityStop.js, line 3

透明度分段

Name Type Description
options Object

初始化参数

Name Type Description
opacity Number 可选

透明度

value Number 可选

数值

label String 可选

视觉变量分段描述

Members

labelString

视觉变量分段描述

opacityNumber

透明度

valueNumber

数值

Methods

OpacityStop.fromJSON(){OpacityStop}

document/renderer/visualVariable/support/OpacityStop.js, line 36

通过json构造OpacityStop对象

Returns:
Type Description
OpacityStop json对象

clone(){OpacityStop}

document/renderer/visualVariable/support/OpacityStop.js, line 56

克隆对象

Returns:
Type Description
OpacityStop 克隆后的OpacityStop对象

toJSON(){Object}

document/renderer/visualVariable/support/OpacityStop.js, line 44

导出为json对象

Returns:
Type Description
Object json对象