Package: gsk

Function gsk:mask-node-new

Lambda List

gsk:mask-node-new (source mask mode)

Arguments

source -- a gsk:render-node instance with the source node to be drawn
mask -- a gsk:render-node instance with the node to be used as mask
mode -- a gsk:mask-mode value with the mask mode to use

Details

Creates a gsk:render-node instance that will mask a given node by another. The mode value determines how the mask values are derived from the colors of the mask. Applying the mask consists of multiplying the mask value with the alpha of the source.

Since 4.10
 

See also

#2024-12-2