Pattern.getRgba

cairo.types.Status getRgba(out double red, out double green, out double blue, out double alpha)

Gets the solid color for a solid color pattern.

Note that the color and alpha values are not premultiplied.

Parameters

redreturn value for red component of color, or null
greenreturn value for green component of color, or null
bluereturn value for blue component of color, or null
alphareturn value for alpha component of color, or null

Returns

[cairo.types.Status.Success], or

[cairo.types.Status.PatternTypeMismatch] if the pattern is not a solid color pattern.