canvas createPattern API安卓兼容性问题

发布于 7 年前作者 iliao3666 次浏览最后编辑 7 年前来自 ask
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 回复
taoxu
taoxu1 楼6 年前

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

weixiang
weixiang2 楼5 年前

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

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