Pattern.getColorStopCount

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

class Pattern
getColorStopCount
(
out int count
)

Parameters

count int

return value for the number of color stops, or null

Return Value

Type: cairo.types.Status

cairo.types.Status.Success, or cairo.types.Status.PatternTypeMismatch if pattern is not a gradient pattern.