Package: cairo

Function cairo-pattern-get-color-stop-count

Lambda List

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

Arguments

pattern -- a cairo-pattern-t instance

Return Value

count -- an integer with the number of color stops
status -- :sucess, or :pattern-type-mismatch if pattern is not a gradient pattern

Details

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

See also

2020-12-25