# new ColorStop(options) 颜色分段 参数: 名称 类型 描述 options Object 初始化参数 color Color | Object | String 颜色 value Number 数值 label String 视觉变量分段描述 查看源代码 common/document/renderer/visualVariable/support/ColorStop.js, line 4 成员变量 类型: Color | Object | String # color 颜色 查看源代码 common/document/renderer/visualVariable/support/ColorStop.js, line 16 类型: String # label 视觉变量分段描述 查看源代码 common/document/renderer/visualVariable/support/ColorStop.js, line 26 类型: Number # value 数值 查看源代码 common/document/renderer/visualVariable/support/ColorStop.js, line 21 方法 # static fromJSON() 通过json构造ColorStop对象 查看源代码 common/document/renderer/visualVariable/support/ColorStop.js, line 37 返回值: json对象 类型: ColorStop # clone() 克隆对象 查看源代码 common/document/renderer/visualVariable/support/ColorStop.js, line 57 返回值: 克隆后的ColorStop对象 类型: ColorStop # toJSON() 导出为json对象 查看源代码 common/document/renderer/visualVariable/support/ColorStop.js, line 45 返回值: json对象 类型: Object