Class: Gsk::ShadowNode
- Inherits:
-
RenderNode
- Object
- RenderNode
- Gsk::ShadowNode
- Defined in:
- (unknown)
Overview
A render node drawing one or more shadows behind its single child node.
Instance Method Summary collapse
-
#child ⇒ Gsk::RenderNode
Retrieves the child
GskRenderNodeof the shadow node. -
#get_shadow(i) ⇒ Gsk::Shadow
Retrieves the shadow data at the given index i.
-
#initialize(child, shadows, n_shadows) ⇒ Gsk::ShadowNode
constructor
Creates a
GskRenderNodethat will draw a child with the given shadows below it. -
#n_shadows ⇒ Integer
Retrieves the number of shadows in the node.
Methods inherited from RenderNode
deserialize, #draw, #get_bounds, #node_type, #ref, #serialize, #unref, #write_to_file
Constructor Details
#initialize(child, shadows, n_shadows) ⇒ Gsk::ShadowNode
Creates a GskRenderNode that will draw a child with the given
shadows below it.
Instance Method Details
#child ⇒ Gsk::RenderNode
Retrieves the child GskRenderNode of the shadow node.
#get_shadow(i) ⇒ Gsk::Shadow
Retrieves the shadow data at the given index i.
#n_shadows ⇒ Integer
Retrieves the number of shadows in the node.