Gets the number of patches specified in the given mesh pattern.
The number only includes patches which have been finished by calling cairo.global.meshPatternEndPatch. For example it will be 0 during the definition of the first patch.
a #cairo_pattern_t
return value for the number patches, or null
cairo.types.Status.Success, or cairo.types.Status.PatternTypeMismatch if pattern is not a mesh pattern.
Gets the number of patches specified in the given mesh pattern.
The number only includes patches which have been finished by calling cairo.global.meshPatternEndPatch. For example it will be 0 during the definition of the first patch.