Gsk.BlendNode¶
- Subclasses:
None
Methods¶
- Inherited:
class |
|
Virtual Methods¶
None
Fields¶
None
Class Details¶
- class Gsk.BlendNode¶
- Bases:
- Abstract:
No
A render node applying a blending function between its two child nodes.
- classmethod new(bottom, top, blend_mode)¶
- Parameters:
bottom (
Gsk.RenderNode
) – The bottom node to be drawntop (
Gsk.RenderNode
) – The node to be blended onto the bottom nodeblend_mode (
Gsk.BlendMode
) – The blend mode to use
- Returns:
A new
GskRenderNode
- Return type:
Creates a
GskRenderNode
that will use blend_mode to blend the top node onto the bottom node.
- get_blend_mode()¶
- Returns:
the blend mode
- Return type:
Retrieves the blend mode used by self.
- get_bottom_child()¶
- Returns:
the bottom child node
- Return type:
Retrieves the bottom
GskRenderNode
child of the self.
- get_top_child()¶
- Returns:
the top child node
- Return type:
Retrieves the top
GskRenderNode
child of the self.