Gsk.ComponentTransferNode¶
- Subclasses:
None
Methods¶
- Inherited:
class |
|
|
|
|
Virtual Methods¶
None
Fields¶
None
Class Details¶
- class Gsk.ComponentTransferNode¶
- Bases:
- Abstract:
No
A render node for applying a
GskComponentTransferfor each color component of the child node.New in version 4.20.
- classmethod new(child, r, g, b, a)¶
- Parameters:
child (
Gsk.RenderNode) – The child to apply component transfers tor (
Gsk.ComponentTransfer) – transfer for the red componentg (
Gsk.ComponentTransfer) – transfer for the green componentb (
Gsk.ComponentTransfer) – transfer for the blue componenta (
Gsk.ComponentTransfer) – transfer for the alpha component
- Returns:
A new
GskRenderNode- Return type:
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:
Gets the child node that is getting drawn by the given self.
New in version 4.20.
- get_transfer(component)¶
- Parameters:
component (
Gdk.ColorChannel) – the component to get the transfer for- Returns:
the
GskComponentTransfer- Return type:
Gets the component transfer for one of the components.
New in version 4.20.