Snapshot.pushFill
void pushFill(gsk.path.Path path, gsk.types.FillRule fillRule)Fills the area given by path and fill_rule with an image and discards everything outside of it.
The image is recorded until the next call to [gtk.snapshot.Snapshot.pop].
If you want to fill the path with a color, [gtk.snapshot.Snapshot.appendFill] may be more convenient.
Parameters
path | The path describing the area to fill |
fillRule | The fill rule to use |