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

clone(){OpacityStop}

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

克隆对象

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

toJSON(){Object}

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

导出为 JSON 对象

Returns:
Type Description
Object JSON 对象

OpacityStop.fromJSON(json){OpacityStop}

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

通过 JSON 对象构造 OpacityStop 对象

Name Type Description
json Object

JSON 对象

Returns:
Type Description
OpacityStop OpacityStop 对象