Class: Gsk::ClipNode
- Inherits:
-
RenderNode
- Object
- RenderNode
- Gsk::ClipNode
- Defined in:
- (unknown)
Overview
A render node applying a rectangular clip to its single child node.
Instance Method Summary collapse
-
#child ⇒ Gsk::RenderNode
Gets the child node that is getting clipped by the given node.
-
#clip ⇒ Graphene::Rect
Retrieves the clip rectangle for node.
-
#initialize(child, clip) ⇒ Gsk::ClipNode
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::ClipNode
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 ⇒ Graphene::Rect
Retrieves the clip rectangle for node.