Class: Gsk::CopyNode

Inherits:
RenderNode show all
Defined in:
(unknown)

Overview

A render node that copies the current state of the rendering canvas
so a [classGsk.PasteNode] can draw it.

Instance Method Summary collapse

Methods inherited from RenderNode

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

Constructor Details

#initialize(child) ⇒ Gsk::CopyNode

Creates a GskRenderNode that copies the current rendering
canvas for playback by paste nodes that are part of the child.

Parameters:

Instance Method Details

#child ⇒ Gsk::RenderNode

Gets the child node that is getting drawn by the given node.

Returns: