MaskNode
Description:
[ CCode ( has_construct_function = false , type = "GskRenderNode*" ) ]
public MaskNode (RenderNode source, RenderNode mask, MaskMode mask_mode)
public MaskNode (RenderNode source, RenderNode mask, MaskMode mask_mode)
Creates a `GskRenderNode` 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 |
The source node to be drawn |
mask |
The node to be used as mask |
mask_mode |
The mask mode to use |
Returns:
A new `GskRenderNode` |