0
我有导出结构的画布到url的问题。Fabric.js canvas toDataUrl
如何将导出的所有内容从画布导出到网址?因为现在,我可以看到只有红色背景已经被导出。
这里是我的小提琴:https://jsfiddle.net/y7pu4wn3/13/
<div id="custom-label" style="position: absolute; right: 0px; top: 50px; z-index:10; width: 512px; height: 256px; border: 1px solid #7d8d20">
<canvas id="draw-area" width="512" height="256" style=""></canvas>
</div>