Pattern.getColorStopCount

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

class Pattern
getColorStopCount
(
out int count
)

Parameters

count int

return value for the number of color stops, or NULL

Return Value

CAIRO_STATUS_SUCCESS, or CAIRO_STATUS_PATTERN_TYPE_MISMATCH if pattern is not a gradient pattern.

Meta