Gsk.OpacityNode

g Gsk.OpacityNode Gsk.OpacityNode Gsk.RenderNode Gsk.RenderNode Gsk.RenderNode->Gsk.OpacityNode

Subclasses:

None

Methods

Inherited:

Gsk.RenderNode (8)

class

new (child, opacity)

get_child ()

get_opacity ()

Virtual Methods

None

Fields

None

Class Details

class Gsk.OpacityNode
Bases:

Gsk.RenderNode

Abstract:

No

A render node controlling the opacity of its single child node.

classmethod new(child, opacity)
Parameters:
Returns:

A new GskRenderNode

Return type:

Gsk.OpacityNode

Creates a GskRenderNode that will drawn the child with reduced opacity.

get_child()
Returns:

The child that is getting opacityed

Return type:

Gsk.RenderNode

Gets the child node that is getting opacityed by the given self.

get_opacity()
Returns:

the opacity factor

Return type:

float

Gets the transparency factor for an opacity node.