Package: gdk

Function gdk:rgba-new

Lambda List

gdk:rgba-new (&key red green blue alpha)

Arguments

red -- a number for the intensity of the red channel from 0.0 to 1.0 inclusive
green -- a number for the intensity of the green channel from 0.0 to 1.0 inclusive
blue -- a number for the intensity of the blue channel from 0.0 to 1.0 inclusive
alpha -- a number for the opacity of the color from 0.0 for completely translucent to 1.0 for opaque

Return Value

The newly created gdk:rgba color.

Details

Creates a gdk:rgba color.

Notes

All numbers are coerced to a single float before being passed to the foreign C function.
 

See also

2025-1-11