ReadonlynameThe display name, including the filename extension when available.
ReadonlycanvasThe document's current canvas.
ReadonlyanimationAnimation controls, or null for a still image document.
Encodes the document in a supported file format.
For image documents: pxi, png, jpg, jpeg, gif, heic, tif, tiff, bmp, ico, svg, psd, or pntg. For animation documents: pxa, gif, png, mov, or mp4.
Optionaloptions: ExportOptions | null
Image encoding options.
Encoded data, or null when export failed.
Writes the document using the format selected by the path extension.
Absolute or tilde-relative destination path. Image documents support pxi, png, jpg, jpeg, gif, heic, tif, tiff, bmp, ico, svg, psd, and pntg; animation documents support pxa, gif, png, mov, and mp4.
Optionaloptions: ExportOptions | null
Image encoding options.
Whether the file was written successfully.
A new duplicate document, or null when duplication is unavailable.
Brings this document's window to the foreground.
Whether an edit was undone.
Whether an edit was redone.
An open Pixen image or animation document.