snapshot
open fun snapshot(snapshot: Snapshot, width: <Error class: unknown class>, height: <Error class: unknown class>)
Snapshots the given paintable with the given @width and @height.
The paintable is drawn at the current (0,0) offset of the @snapshot. If @width and @height are not larger than zero, this function will do nothing.
Parameters
snapshot
a GdkSnapshot
to snapshot to
width
width to snapshot in
height
height to snapshot in