Class: Gsk::BlurNode

Inherits:
RenderNode show all
Defined in:
(unknown)

Overview

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

Instance Method Summary collapse

Methods inherited from RenderNode

deserialize, #draw, #get_bounds, #node_type, #ref, #serialize, #unref, #write_to_file

Constructor Details

#initialize(child, radius) ⇒ Gsk::BlurNode

Creates a render node that blurs the child.

Parameters:

  • child (Gsk::RenderNode)

    the child node to blur

  • radius (Gsk::gfloat)

    the blur radius. Must be positive

Instance Method Details

#childGsk::RenderNode

Retrieves the child GskRenderNode of the blur node.

Returns:

#radiusGsk::gfloat

Retrieves the blur radius of the node.

Returns:

  • (Gsk::gfloat)

    the blur radius