init


Description:

[ Version ( since = "1.12" ) ]
public unowned Color? init (uint8 red, uint8 green, uint8 blue, uint8 alpha)

Initializes this with the given values.

Parameters:

this

a Color

red

red component of the color, between 0 and 255

green

green component of the color, between 0 and 255

blue

blue component of the color, between 0 and 255

alpha

alpha component of the color, between 0 and 255

Returns:

the initialized Color