Pandora.Document - Marcotrombino/Pandora2 GitHub Wiki
Defines Pandora's working area
Name | Type | Description |
---|---|---|
Config | Object | Document configuration |
config
Name | Type | Value | Description |
---|---|---|---|
source | String / HTMLImageElement |
url , <img>
|
Document background image |
destID (optional) | HTMLCanvasElement | Canvas output | |
width (optional) | Number | Document width | |
height (optional) | Number | Document height | |
format (optional) | String |
jpeg , png
|
Format of document's output when exported |
quality (optional) | Number |
0 to 1
|
Quality of document's output when exported |