TransformNode#

class TransformNode(*args, **kwargs)#

Superclasses: RenderNode

A render node applying a GskTransform to its single child node.

Constructors#

class TransformNode
classmethod new(child: RenderNode, transform: Transform) TransformNode#

Creates a GskRenderNode that will transform the given child with the given transform.

Parameters:
  • child – The node to transform

  • transform – The transform to apply

Methods#

class TransformNode
get_child() RenderNode#

Gets the child node that is getting transformed by the given node.

get_transform() Transform#

Retrieves the GskTransform used by the node.