Gsk.ShadowNode

g Gsk.RenderNode Gsk.RenderNode Gsk.ShadowNode Gsk.ShadowNode Gsk.RenderNode->Gsk.ShadowNode

Subclasses:

None

Methods

Inherited:

Gsk.RenderNode (8)

class

new (child, shadows)

get_child ()

get_n_shadows ()

get_shadow (i)

Virtual Methods

None

Fields

None

Class Details

class Gsk.ShadowNode
Bases:

Gsk.RenderNode

Abstract:

No

A render node drawing one or more shadows behind its single child node.

classmethod new(child, shadows)
Parameters:
Returns:

A new GskRenderNode

Return type:

Gsk.ShadowNode

Creates a GskRenderNode that will draw a child with the given shadows below it.

get_child()
Returns:

the child render node

Return type:

Gsk.RenderNode

Retrieves the child GskRenderNode of the shadow self.

get_n_shadows()
Returns:

the number of shadows.

Return type:

int

Retrieves the number of shadows in the self.

get_shadow(i)
Parameters:

i (int) – the given index

Returns:

the shadow data

Return type:

Gsk.Shadow

Retrieves the shadow data at the given index i.