MaskNode.this

Creates a gsk.render_node.RenderNode that will mask a given node by another.

The mask_mode 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.

Parameters

source gsk.render_node.RenderNode

The source node to be drawn

mask gsk.render_node.RenderNode

The node to be used as mask

maskMode gsk.types.MaskMode

The mask mode to use

Return Value