ColormapInfo

ColormapInfo 描述像素值、RGB 颜色和标签以对栅格进行着色。

构造函数

ColormapInfo

ColormapInfo 描述像素值、RGB 颜色和标签以对栅格进行着色。

new ColormapInfo(properties?)

参数

返回:ColormapInfo ColormapInfo对象

属性

label

给定像素值和颜色映射的标签。

label: string

类型: string

value

栅格像素值。

value: number

类型: number

访问器

color

给定像素的颜色。

get color(): Color

返回: Color 给定像素的颜色。

set color(value: ColorProperties): void

参数

返回: void

方法

toJSON

将此类的实例转换为其JSON表示形式。

toJSON(): any

返回:any

BIMFlux AI