Snapshot.pushFill

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.

class Snapshot
void
pushFill

Parameters

path gsk.path.Path

The path describing the area to fill

fillRule gsk.types.FillRule

The fill rule to use