Class: Gsk::RoundedClipNode
- Inherits:
-
RenderNode
- Object
- RenderNode
- Gsk::RoundedClipNode
- Defined in:
- (unknown)
Overview
A render node applying a rounded rectangle clip to its single child.
Instance Method Summary collapse
-
#child ⇒ Gsk::RenderNode
Gets the child node that is getting clipped by the given node.
-
#clip ⇒ Gsk::RoundedRect
Retrieves the rounded rectangle used to clip the contents of the node.
-
#initialize(child, clip) ⇒ Gsk::RoundedClipNode
constructor
Creates a
GskRenderNodethat will clip the child to the area given by clip.
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.
Instance Method Details
#child ⇒ Gsk::RenderNode
Gets the child node that is getting clipped by the given node.
#clip ⇒ Gsk::RoundedRect
Retrieves the rounded rectangle used to clip the contents of the node.