get_snapshot
Description:
public async Texture get_snapshot (SnapshotRegion region, SnapshotOptions options, Cancellable? cancellable = null) throws Error
Asynchronously retrieves a snapshot of this for region.
options specifies how the snapshot should be rendered.
When the operation is finished, callback will be called. You must call get_snapshot.end to get the
result of the operation.
Parameters:
| this |
a WebView |
| region |
the SnapshotRegion for this snapshot |
| options |
SnapshotOptions for the snapshot |
| cancellable | |
| callback | |
| user_data |
user data |