Class: Gsk::BlendNode
- Inherits:
-
RenderNode
- Object
- RenderNode
- Gsk::BlendNode
- Defined in:
- (unknown)
Overview
A render node applying a blending function between its two child nodes.
Instance Method Summary collapse
-
#blend_mode ⇒ Gsk::BlendMode
Retrieves the blend mode used by node.
-
#bottom_child ⇒ Gsk::RenderNode
Retrieves the bottom
GskRenderNodechild of the node. -
#initialize(bottom, top, blend_mode) ⇒ Gsk::BlendNode
constructor
Creates a
GskRenderNodethat will use blend_mode to blend the top node onto the bottom node. -
#top_child ⇒ Gsk::RenderNode
Retrieves the top
GskRenderNodechild of the node.
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.
Instance Method Details
#blend_mode ⇒ Gsk::BlendMode
Retrieves the blend mode used by node.
#bottom_child ⇒ Gsk::RenderNode
Retrieves the bottom GskRenderNode child of the node.
#top_child ⇒ Gsk::RenderNode
Retrieves the top GskRenderNode child of the node.