Snapshot.pushStroke

Strokes the given path with the attributes given by stroke and an image.

The image is recorded until the next call to gtk.snapshot.Snapshot.pop.

Note that the strokes are subject to the same transformation as everything else, so uneven scaling will cause horizontal and vertical strokes to have different widths.

If you want to stroke the path with a color, gtk.snapshot.Snapshot.appendStroke may be more convenient.

class Snapshot
void
pushStroke

Parameters

path gsk.path.Path

The path to stroke

stroke gsk.stroke.Stroke

The stroke attributes