Learn R Programming

RGtk2 (version 2.20.31)

cairoPatternGetColorStopCount: cairoPatternGetColorStopCount

Description

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

Usage

cairoPatternGetColorStopCount(pattern)

Arguments

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

Details

Since 1.4