Gets the number of color stops specified in the given gradient pattern.
return value for the number of color stops, or null
cairo.types.Status.Success, or cairo.types.Status.PatternTypeMismatch if pattern is not a gradient pattern.
Gets the number of color stops specified in the given gradient pattern.