Class: Gsk::RepeatNode
- Inherits:
-
RenderNode
- Object
- RenderNode
- Gsk::RepeatNode
- Defined in:
- (unknown)
Overview
A render node repeating its single child node.
Instance Method Summary collapse
-
#child ⇒ Gsk::RenderNode
Retrieves the child of node.
-
#child_bounds ⇒ Graphene::Rect
Retrieves the bounding rectangle of the child of node.
-
#initialize(bounds, child, child_bounds) ⇒ Gsk::RepeatNode
constructor
Creates a
GskRenderNodethat will repeat the drawing of child across the given bounds.
Methods inherited from RenderNode
deserialize, #draw, #get_bounds, #node_type, #ref, #serialize, #unref, #write_to_file
Constructor Details
#initialize(bounds, child, child_bounds) ⇒ Gsk::RepeatNode
Creates a GskRenderNode that will repeat the drawing of child across
the given bounds.
Instance Method Details
#child ⇒ Gsk::RenderNode
Retrieves the child of node.
#child_bounds ⇒ Graphene::Rect
Retrieves the bounding rectangle of the child of node.