MeshPattern.getPath

Gets path defining the patch patch_num for a mesh pattern. patch_num can range 0 to 1 less than the number returned by MeshPattern.getPatchCount. Since 1.12

class MeshPattern
getPath
()

Parameters

patchNum uint

the patch number to return data for

Return Value

the path defining the patch, or a path with status CAIRO_STATUS_INVALID_INDEX if patch_num or point_num is not valid for pattern. If pattern is not a mesh pattern, a path with status CAIRO_STATUS_PATTERN_TYPE_MISMATCH is returned.