Method Cairo.SolidPattern()->get_rgba()


Method get_rgba

array(float) get_rgba()

Description

Gets the solid color for a solid color pattern.

Note that the color and alpha values are not premultiplied.

Returns

An array with the components of the color

Array
float 0

red component of color

float 1

green component of color

float 2

blue component of color

float 3

alpha component of color