I8

Description

Name

class Tinman.Color.I8

Derived from

Tinman.Color

Specifies a color by giving its intensity value.

Fields / Required

value

Type

number

Constraint

# >= 0 && # <= 255

The intensity channel value (compressed sRGB), in the range [0..255].

Fields / Optional

alpha

Type

number

Constraint

# >= 0 && # <= 255

Default

255

The alpha channel value, in the range [0..255].