Gsk.ShadowNode¶
- Subclasses:
None
Methods¶
- Inherited:
class |
|
|
|
|
Virtual Methods¶
None
Fields¶
None
Class Details¶
- class Gsk.ShadowNode¶
- Bases:
- Abstract:
No
A render node drawing one or more shadows behind its single child node.
- classmethod new(child, shadows)¶
- Parameters:
child (
Gsk.RenderNode
) – The node to drawshadows ([
Gsk.Shadow
]) – The shadows to apply
- Returns:
A new
GskRenderNode
- Return type:
Creates a
GskRenderNode
that will draw a child with the given shadows below it.
- get_child()¶
- Returns:
the child render node
- Return type:
Retrieves the child
GskRenderNode
of the shadow self.
- get_n_shadows()¶
- Returns:
the number of shadows.
- Return type:
Retrieves the number of shadows in the self.