Package: cairo

Function cairo:mask

Lambda List

cairo:mask (cr pattern)

Arguments

cr -- a cairo:context-t instance
pattern -- a cairo:pattern-t instance

Details

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.
 

See also

2025-1-2