cairoPatternGetColorStopCount {RGtk2} | R Documentation

## cairoPatternGetColorStopCount

### Description

Gets the number of color stops specified in the given gradient pattern.

### Usage

    cairoPatternGetColorStopCount(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 `pattern` is not a gradient pattern.
``count`` | [integer] return value for the number of color stops, or `NULL`

### Author(s)

Derived by RGtkGen from GTK+ documentation

[Package RGtk2 version 2.20.40 Index]