Gsk.BlurNode

g Gsk.BlurNode Gsk.BlurNode Gsk.RenderNode Gsk.RenderNode Gsk.RenderNode->Gsk.BlurNode

Subclasses:

None

Methods

Inherited:

Gsk.RenderNode (8)

class

new (child, radius)

get_child ()

get_radius ()

Virtual Methods

None

Fields

None

Class Details

class Gsk.BlurNode
Bases:

Gsk.RenderNode

Abstract:

No

A render node applying a blur effect to its single child.

classmethod new(child, radius)
Parameters:
  • child (Gsk.RenderNode) – the child node to blur

  • radius (float) – the blur radius. Must be positive

Returns:

a new GskRenderNode

Return type:

Gsk.BlurNode

Creates a render node that blurs the child.

get_child()
Returns:

the blurred child node

Return type:

Gsk.RenderNode

Retrieves the child GskRenderNode of the blur self.

get_radius()
Returns:

the blur radius

Return type:

float

Retrieves the blur radius of the self.