KColor
kds-plugin-document / Exports / KColor
Interface: KColor
用红绿蓝三原色表示的颜色值
The KColor class represents a color.
Table of contents
Properties
Properties
b
• b: number
蓝色分量,在 0 到 255 之间取值
Blue channel value between 0 and 255.
Defined in
api.d.ts:4553
g
• g: number
绿色分量,在 0 到 255 之间取值
Green channel value between 0 and 255.
Defined in
api.d.ts:4545
r
• r: number
红色分量,在 0 到 255 之间取值
Red channel value between 0 and 255.
Defined in
api.d.ts:4537