save canvas image as data url (png format by default). 21. var dataURL = canvas.toDataURL();. 22. var canvas = document.getElementById("myCanvas");.
確定! 回上一頁