Package: cairo

Function cairo:pattern-color-stop-count

Lambda List

cairo:pattern-color-stop-count (cr)

Arguments

pattern -- a cairo:pattern-t instance

Return Value

The integer with the number of color stops.

Details

Gets the number of color stops specified in the given gradient pattern. Returns nil if pattern is not a gradient pattern.
 

See also

2025-1-14