ccontext:SetSourceRGBA(red, green, blue, alpha)
The color and alpha components are floating point numbers in the range 0 to 1. If the values passed in are outside that range, they will be clamped.
Note that the color and alpha values are not premultiplied.
The default source pattern is a solid pattern that is opaque black, that is, it is equivalent to ccontext:SetSourceRGB() with the arguments all set to 0.0.