Method Cairo.MeshPattern()->get_patch_count()


Method get_patch_count

int(0..) get_patch_count()

Description

Gets the number of patches specified in this mesh pattern.

The number only includes patches which have been finished by calling end_patch(). For example it will be 0 during the definition of the first patch.

Returns

the number patches