Gsk.ComponentTransferNode

g Gsk.ComponentTransferNode Gsk.ComponentTransferNode Gsk.RenderNode Gsk.RenderNode Gsk.RenderNode->Gsk.ComponentTransferNode

Subclasses:

None

Methods

Inherited:

Gsk.RenderNode (9)

class

new (child, r, g, b, a)

get_child ()

get_transfer (component)

Virtual Methods

None

Fields

None

Class Details

class Gsk.ComponentTransferNode
Bases:

Gsk.RenderNode

Abstract:

No

New in version 4.20.

classmethod new(child, r, g, b, a)
Parameters:
Returns:

A new GskRenderNode

Return type:

Gsk.ComponentTransferNode

Creates a render node that will apply component transfers to a child node.

New in version 4.20.

get_child()
Returns:

the child GskRenderNode

Return type:

Gsk.RenderNode

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

New in version 4.20.

get_transfer(component)
Parameters:

component (int) – a value between 0 and 3 to indicate the red, green, blue or alpha component

Returns:

the GskComponentTransfer

Return type:

Gsk.ComponentTransfer

Gets the component transfer for one of the components.

New in version 4.20.