Sprites.Export

Shared exports: Png, Svg, Json.

Sprites.Export

Sprites.Export.Download Void

Sprites.Export.Download(blob, filename)

Trigger a download.

Sprites.Export.Register Void

Sprites.Export.Register(name, exporter)

Register an exporter.

Sprites.Export.Png.Blob Async, blob

Sprites.Export.Png.Blob(resource, opts)

Render a PNG.

Sprites.Export.Png.Download Async, void

Sprites.Export.Png.Download(resource, opts)

Save a PNG.

Sprites.Export.Svg.Text Async, string

Sprites.Export.Svg.Text(resource, opts)

Serialise SVG.

Sprites.Export.Svg.Download Async, void

Sprites.Export.Svg.Download(resource, opts)

Save an SVG.

Sprites.Export.Json.Text String

Sprites.Export.Json.Text(resource, opts)

The envelope as JSON.

Sprites.Export.Json.Download Void

Sprites.Export.Json.Download(resource, opts)

Save the JSON.