获取 CanvasContext
获取 CanvasContext 结果:
{{testCanvasContext}}
测试 ToDataURL 结果:
{{testToDataURLResult}}
测试 createImage 结果:
{{testCreateImage}}
测试 createPath2D 结果:
{{testCreatePath2D}}
testToBlobResult: {{testToBlobResult}}
canvasToDataURL:
{{dataBase64.slice(0,22)}}...
CanvasContext API 演示