Svelte图像如何使用 Svelte 在 Canvas 上绘制图像?对于图像,需要手动创建原生 window.Image 实例或 canvas 元素,并将其用作 Image 组件的 image 属性。