get_components


Description:

[ CCode ( array_length_pos = 1.1 ) ]
public double[] get_components (Value format)

Get the component values of the color in format.

Parameters:

this

a Color

format

A Babl pointer

components_length

The length of the returned buffer

Returns:

The color components If value format not supported return NULL and components_length set to 0.