Skip to content

Tego Bot API Documentation v0.2.0


Tego Bot API Documentation / RgbaColor

Interface: RgbaColor ​

Defined in: botjs/src/screenshot.ts:83

RGBA color information with alpha channel

Properties ​

r ​

r: number

Defined in: botjs/src/screenshot.ts:85

Red component (0-255)


g ​

g: number

Defined in: botjs/src/screenshot.ts:87

Green component (0-255)


b ​

b: number

Defined in: botjs/src/screenshot.ts:89

Blue component (0-255)


a ​

a: number

Defined in: botjs/src/screenshot.ts:91

Alpha component (0-1)

Released under the MIT License.