Lipi Reference Lipi

Functions

color.a()

Reads the opacity of a colour. Reading is asymmetric with writing: this one returns a fraction from 0 to 1, while the three component functions return whole numbers from 0 to 255.

Syntax · 1 of 4

                color.a(const color color) → const float
              

Arguments

color required const color the colour to inspect

Return Type

const float

Syntax · 2 of 4

                color.a(input color color) → input float
              

Arguments

color required input color the colour to inspect

Return Type

input float

Syntax · 3 of 4

                color.a(simple color color) → simple float
              

Arguments

color required simple color the colour to inspect

Return Type

simple float

Syntax · 4 of 4

                color.a(series color color) → series float
              

Arguments

color required series color the colour to inspect

Return Type

series float