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