MeshPattern.beginPatch

Begin a patch in a mesh pattern. After calling this function, the patch shape should be defined with MeshPattern.moveTo, MeshPattern.lineTo and MeshPattern.curveTo. After defining the patch, MeshPattern.endPatch must be called before using pattern as a source or mask. Note: If pattern is not a mesh pattern then pattern will be put into an error status with a status of CAIRO_STATUS_PATTERN_TYPE_MISMATCH. If pattern already has a current patch, it will be put into an error status with a status of CAIRO_STATUS_INVALID_MESH_CONSTRUCTION. Since 1.12

class MeshPattern
void
beginPatch
()