Gsk.CompositeNode¶
- Subclasses:
None
Methods¶
- Inherited:
class |
|
|
|
|
|
|
Virtual Methods¶
None
Fields¶
None
Class Details¶
- class Gsk.CompositeNode¶
- Bases:
- Abstract:
No
A render node that uses Porter/Duff compositing operators to combine its child with the background.
New in version 4.22.
- classmethod new(child, mask, op)¶
- Parameters:
child (
Gsk.RenderNode) – The child to compositemask (
Gsk.RenderNode) – The mask where the compositing will applyop (
Gsk.PorterDuff) – The compositing operator
- Returns:
A new
GskRenderNode- Return type:
Creates a
GskRenderNodethat 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.
New in version 4.22.
- get_child()¶
- Returns:
the child
GskRenderNode- Return type:
Gets the child node that is getting composited by the given self.
New in version 4.22.
- get_mask()¶
- Returns:
the mask
GskRenderNode- Return type:
Gets the mask node that describes the region where the compositing applies.
New in version 4.22.
- get_operator()¶
- Returns:
The compositing operator
- Return type:
Gets the compositing operator used by this node.
New in version 4.22.