问题 在 createjs 中,默认是没有封装 canvas 的 drawImage 方法, 想 添加图片到 canvas 上,只能使用 const img: HTMLImageElement; const box = new createjs.Shape(); box.graphics.beginBitmapFill(img).drawRect(0, 0, img.width, img.heig…
问题 在 createjs 中,默认是没有封装 canvas 的 drawImage 方法, 想 添加图片到 canvas 上,只能使用 const img: HTMLImageElement; const box = new createjs.Shape(); box.graphics.beginBitmapFill(img).drawRect(0, 0, img.width, img.heig…
讨论
登录后参与讨论
还没有评论,来说第一句吧。