CompositeNode
Description:
[ CCode ( has_construct_function = false ) ]
public CompositeNode (RenderNode child, RenderNode mask, PorterDuff op)
public CompositeNode (RenderNode child, RenderNode mask, PorterDuff op)
Creates a `GskRenderNode` that will composite the child onto the background with the given operator wherever the mask is set.
Note that various operations can modify the background outside of the child's bounds, so the mask may cause visual changes outside of the child.
Parameters:
| child |
The child to composite |
| mask |
The mask where the compositing will apply |
| op |
The compositing operator |
Returns:
|
A new `GskRenderNode` |