pushFill

open fun pushFill(path: <Error class: unknown class>, fillRule: <Error class: unknown class>)

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 method@Gtk.Snapshot.pop.

If you want to fill the path with a color, method@Gtk.Snapshot.append_fill may be more convenient.

Since

4.14

Parameters

path

The path describing the area to fill

fillRule

The fill rule to use