toBlob

Exports the group of drawing elements to PDF and returns a Blob.

Does not work in browsers that do not support Blob.

Parameters

group Group

The Group to export.

callback (data: Blob) => void

A function that will be called with the Blob, when complete.