Paint into the export canvas. size is the editor-wide export size (max over all exporters), so layers must position themselves accordingly.
size
void paintExport(Canvas canvas, Size size);