[cairo.types.Status.PatternTypeMismatch] if pattern is not a gradient pattern.
Pattern.getColorStopCount
cairo.types.Status getColorStopCount(out int count)Gets the number of color stops specified in the given gradient pattern.
Parameters
count | return value for the number of color stops, or null |
Returns
[cairo.types.Status.Success], or