into an error status with a status of cairo.types.Status.PatternTypeMismatch. If corner_num is not valid, pattern will be put into an error status with a status of cairo.types.Status.InvalidIndex. If pattern has no current patch, pattern will be put into an error status with a status of cairo.types.Status.InvalidMeshConstruction.
Parameters
pattern | a #cairo_pattern_t |
cornerNum | the corner to set the color for |
red | red component of color |
green | green component of color |
blue | blue component of color |
alpha | alpha component of color |