canvas createPattern API安卓兼容性问题
发布于 5 年前 作者 iliao 3495 次浏览 来自 问答
const pattern = ctx.createPattern(this.data.photo, 'repeat-y')
    this.roundRect(that.changePx(13/2), that.changePx(12/2), that.changePx(352 / 2), that.changePx(352/2), 5)
    ctx.fillStyle = pattern
    ctx.fill()

请问有遇到过的么 有什么解决办法

2 回复

我也是这样,请问你解决了吗?

你好 麻烦提供一个能够复现问题的代码片段。

https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html

回到顶部