Class: Gsk::CopyNode
- Inherits:
-
RenderNode
- Object
- RenderNode
- Gsk::CopyNode
- 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
-
#child ⇒ Gsk::RenderNode
Gets the child node that is getting drawn by the given node.
-
#initialize(child) ⇒ Gsk::CopyNode
constructor
Creates a
GskRenderNodethat copies the current rendering canvas for playback by paste nodes that are part of the child.
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.
Instance Method Details
#child ⇒ Gsk::RenderNode
Gets the child node that is getting drawn by the given node.