Class: Gsk::RoundedClipNode

Inherits:
RenderNode show all
Defined in:
(unknown)

Overview

A render node applying a rounded rectangle clip to its single child.

Instance Method Summary collapse

Methods inherited from RenderNode

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

Constructor Details

#initialize(child, clip) ⇒ Gsk::RoundedClipNode

Creates a GskRenderNode that will clip the child to the area given by clip.

Parameters:

Instance Method Details

#childGsk::RenderNode

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

Returns:

#clipGsk::RoundedRect

Retrieves the rounded rectangle used to clip the contents of the node.

Returns: