Snapshot.pushClip

Clips an image to a rectangle.

The image is recorded until the next call to [method@Gtk.Snapshot.pop].

class Snapshot
void
pushClip

Parameters

bounds Rect

the rectangle to clip to

Meta