#函数loadImage
签名
loadImage(source: string | HTMLImageElement | Blob): Promise<HTMLImageElement>
描述

异步加载一个图片文件

参数
source: string | HTMLImageElement | Blob

图片文件的 URL、Blob 或 HTMLImageElement 对象

返回Promise<HTMLImageElement>
总览