[cairo.types.Status.PatternTypeMismatch] if the pattern is not a solid color pattern.
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
red | return value for red component of color, or null |
green | return value for green component of color, or null |
blue | return value for blue component of color, or null |
alpha | return value for alpha component of color, or null |
Returns
[cairo.types.Status.Success], or