ColorVariable

构造函数

构造函数

ColorVariable

构造函数

new ColorVariable(properties?)

参数

返回:ColorVariable ColorVariable对象

属性

normalizationField

标准化字段名称

normalizationField: string

类型: string

type

视觉变量类型

type: "color"

类型: "color"

访问器

stops

颜色停止点数组

get stops(): ColorStop[]

返回: ColorStop 颜色停止点数组

set stops(value: ColorStopProperties[]): void

参数

返回: void

方法

clone

克隆颜色视觉变量

clone(): ColorVariable

返回:ColorVariable

toJSON

转换为JSON格式

toJSON(): any

返回:any

BIMFlux AI