OpacityNode#
- class OpacityNode(*args, **kwargs)#
Superclasses: RenderNode
A render node controlling the opacity of its single child node.
Constructors#
- class OpacityNode
- classmethod new(child: RenderNode, opacity: float) OpacityNode #
Creates a
GskRenderNode
that will drawn thechild
with reducedopacity
.- Parameters:
child – The node to draw
opacity – The opacity to apply
Methods#
- class OpacityNode
- get_child() RenderNode #
Gets the child node that is getting opacityed by the given
node
.