MaskNode.this

this(void * ptr, Flag!"Take" take)
No documentation available for this declaration.

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

sourceThe source node to be drawn
maskThe node to be used as mask
maskModeThe mask mode to use

Returns

A new [gsk.render_node.RenderNode]