Lipi Reference Lipi

Functions

color.r()

Reads the red component back out of a colour. The figure comes back on the scale it went in on, 0 to 255.

Syntax · 1 of 4

                color.r(const color color) → const int
              

Arguments

color required const color the colour to inspect

Return Type

const int

Syntax · 2 of 4

                color.r(input color color) → input int
              

Arguments

color required input color the colour to inspect

Return Type

input int

Syntax · 3 of 4

                color.r(simple color color) → simple int
              

Arguments

color required simple color the colour to inspect

Return Type

simple int

Syntax · 4 of 4

                color.r(series color color) → series int
              

Arguments

color required series color the colour to inspect

Return Type

series int