cairoPatternGetRgba {RGtk2} | R Documentation

## cairoPatternGetRgba

### Description

Gets the solid color for a solid color pattern.

### Usage

    cairoPatternGetRgba(pattern)

### Arguments

``pattern`` | [`CairoPattern`] a `CairoPattern`

### Details

Since 1.4

### Value

A list containing the following elements:

`retval` | [`CairoStatus`] `CAIRO_STATUS_SUCCESS`, or `CAIRO_STATUS_PATTERN_TYPE_MISMATCH` if the pattern is not a solid color pattern.
``red`` | [numeric] return value for red component of color, or `NULL`
``green`` | [numeric] return value for green component of color, or `NULL`
``blue`` | [numeric] return value for blue component of color, or `NULL`
``alpha`` | [numeric] return value for alpha component of color, or `NULL`

### Author(s)

Derived by RGtkGen from GTK+ documentation

[Package RGtk2 version 2.20.36.3 Index]