average_color


Description:

public static Color average_color (Pixbuf source)

Averages the colors in the Gdk.Pixbuf and returns it.

Parameters:

source

the Gdk.Pixbuf

Returns:

the Granite.Drawing.Color containing the averaged color