Gsk.OpacityNode¶
- Subclasses:
None
Methods¶
- Inherited:
class |
|
|
|
|
Virtual Methods¶
None
Fields¶
None
Class Details¶
- class Gsk.OpacityNode¶
- Bases:
- Abstract:
No
A render node controlling the opacity of its single child node.
- classmethod new(child, opacity)¶
- Parameters:
child (
Gsk.RenderNode
) – The node to drawopacity (
float
) – The opacity to apply
- Returns:
A new
GskRenderNode
- Return type:
Creates a
GskRenderNode
that will drawn the child with reduced opacity.
- get_child()¶
- Returns:
The child that is getting opacityed
- Return type:
Gets the child node that is getting opacityed by the given self.