StrokeNode#
Added in version 4.14.
- class StrokeNode(*args, **kwargs)#
Superclasses: RenderNode
A render node that will fill the area determined by stroking the the given
Path using the Stroke attributes.
Constructors#
- class StrokeNode
- classmethod new(child: RenderNode, path: Path, stroke: Stroke) StrokeNode#
Creates a
RenderNodethat will fill the outline generated by stroking the givenpathusing the attributes defined instroke.The area is filled with
child.Added in version 4.14.
- Parameters:
child – The node to stroke the area with
path – The path describing the area to stroke
stroke – The stroke attributes to use
Methods#
- class StrokeNode
- get_child() RenderNode#
Gets the child node that is getting drawn by the given
node.Added in version 4.14.