Gsk.BlendNode

g Gsk.BlendNode Gsk.BlendNode Gsk.RenderNode Gsk.RenderNode Gsk.RenderNode->Gsk.BlendNode

Subclasses:

None

Methods

Inherited:

Gsk.RenderNode (8)

class

new (bottom, top, blend_mode)

get_blend_mode ()

get_bottom_child ()

get_top_child ()

Virtual Methods

None

Fields

None

Class Details

class Gsk.BlendNode
Bases:

Gsk.RenderNode

Abstract:

No

A render node applying a blending function between its two child nodes.

classmethod new(bottom, top, blend_mode)
Parameters:
Returns:

A new GskRenderNode

Return type:

Gsk.BlendNode

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:

Gsk.BlendMode

Retrieves the blend mode used by self.

get_bottom_child()
Returns:

the bottom child node

Return type:

Gsk.RenderNode

Retrieves the bottom GskRenderNode child of the self.

get_top_child()
Returns:

the top child node

Return type:

Gsk.RenderNode

Retrieves the top GskRenderNode child of the self.