I

Description

Name

class Tinman.Color.I

Derived from

Tinman.Color

Specifies a color by giving its intensity value.

Fields / Required

value

Type

number

Constraint

# >= 0 && # <= 1

The intensity channel value (linear sRGB) , in the range [0..1].

Fields / Optional

alpha

Type

number

Constraint

# >= 0 && # <= 1

Default

1

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