BlendNode
- class BlendNode(*args, **kwargs)
Superclasses: RenderNode
- Constructors:
BlendNode(**properties)
new(bottom:Gsk.RenderNode, top:Gsk.RenderNode, blend_mode:Gsk.BlendMode) -> Gsk.BlendNode
Constructors
- class BlendNode
- classmethod new(bottom: RenderNode, top: RenderNode, blend_mode: BlendMode) BlendNode
Creates a
GskRenderNode
that will useblend_mode
to blend thetop
node onto thebottom
node.- Parameters:
bottom – The bottom node to be drawn
top – The node to be blended onto the
bottom
nodeblend_mode – The blend mode to use
Methods
- class BlendNode
-
- get_bottom_child() RenderNode
Retrieves the bottom
GskRenderNode
child of thenode
.
- get_top_child() RenderNode
Retrieves the top
GskRenderNode
child of thenode
.