Package: gtk

Function gtk:snapshot-append-fill

Lambda List

gtk:snapshot-append-fill (snapshot path rule color)

Arguments

snapshot -- a gtk:snapshot object
path -- a gsk:path instance for the path describing the area to fill
rule -- a gsk:fill-rule value to use
color -- a gdk:rgba instance for the color to fill the path with

Details

A convenience method to fill a path with a color. See the gtk:snapshot-push-fill function if you need to fill a path with more complex content than a color.

Since 4.14
 

See also

2025-2-12