Sets the color of a corner of the current patch in a mesh pattern.
The color is specified in the same way as in cairo.context.Context.setSourceRgba.
Valid values for corner_num are from 0 to 3 and identify the corners as explained in cairo.global.patternCreateMesh.
Note: If pattern is not a mesh pattern then pattern will be put 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.
a #cairo_pattern_t
the corner to set the color for
red component of color
green component of color
blue component of color
alpha component of color
Sets the color of a corner of the current patch in a mesh pattern.
The color is specified in the same way as in cairo.context.Context.setSourceRgba.
Valid values for corner_num are from 0 to 3 and identify the corners as explained in cairo.global.patternCreateMesh.
Note: If pattern is not a mesh pattern then pattern will be put 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.