Gsk.FillNode¶
- Subclasses:
None
Methods¶
- Inherited:
class |
|
|
|
|
Virtual Methods¶
None
Fields¶
None
Class Details¶
- class Gsk.FillNode¶
- Bases:
- Abstract:
No
A render node filling the area given by [struct`Gsk`.Path] and [enum`Gsk`.FillRule] with the child node.
New in version 4.14.
- classmethod new(child, path, fill_rule)¶
- Parameters:
child (
Gsk.RenderNode
) – The node to fill the area withpath (
Gsk.Path
) – The path describing the area to fillfill_rule (
Gsk.FillRule
) – The fill rule to use
- Returns:
A new
GskRenderNode
- Return type:
Creates a
GskRenderNode
that will fill the child in the area given by path and fill_rule.New in version 4.14.
- get_child()¶
- Returns:
The child that is getting drawn
- Return type:
Gets the child node that is getting drawn by the given self.
New in version 4.14.
- get_fill_rule()¶
- Returns:
a
GskFillRule
- Return type:
Retrieves the fill rule used to determine how the path is filled.
New in version 4.14.