Class: Gsk::BlendNode

Inherits:
RenderNode show all
Defined in:
(unknown)

Overview

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

Instance Method Summary collapse

Methods inherited from RenderNode

deserialize, #draw, #get_bounds, #node_type, #ref, #serialize, #unref, #write_to_file

Constructor Details

#initialize(bottom, top, blend_mode) ⇒ Gsk::BlendNode

Creates a GskRenderNode that will use blend_mode to blend the top node onto the bottom node.

Parameters:

Instance Method Details

#blend_modeGsk::BlendMode

Retrieves the blend mode used by node.

Returns:

#bottom_childGsk::RenderNode

Retrieves the bottom GskRenderNode child of the node.

Returns:

#top_childGsk::RenderNode

Retrieves the top GskRenderNode child of the node.

Returns: