Package: gtk

Function gtk:snapshot-append-stroke

Lambda List

gtk:snapshot-append-stroke (snapshot path stroke color)

Arguments

snapshot -- a gtk:snapshot object
path -- a gsk:path instance for the path to stroke
stroke -- a gsk:stroke instance for the stroke attributes
color -- a gdk:rgba instance for the color to fille the path with

Details

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

Since 4.14
 

See also

2025-2-12