FillNode#

Added in version 4.14.

class FillNode(*args, **kwargs)#

Superclasses: RenderNode

A render node filling the area given by Path and FillRule with the child node.

Constructors#

class FillNode
classmethod new(child: RenderNode, path: Path, fill_rule: FillRule) FillNode#

Creates a GskRenderNode that will fill the child in the area given by path and fill_rule.

Added in version 4.14.

Parameters:
  • child – The node to fill the area with

  • path – The path describing the area to fill

  • fill_rule – The fill rule to use

Methods#

class FillNode
get_child() RenderNode#

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

Added in version 4.14.

get_fill_rule() FillRule#

Retrieves the fill rule used to determine how the path is filled.

Added in version 4.14.

get_path() Path#

Retrieves the path used to describe the area filled with the contents of the node.

Added in version 4.14.