Method Cairo.Context()->mask() Method mask void mask(Pattern pattern) Description A drawing operator that paints the current source using the alpha channel of pattern as a mask. (Opaque areas of pattern are painted with the source, transparent areas are not painted.) Parameter pattern a Pattern