提交 036ae27a 编写于 作者: D DCloud_LXH

fix: canvas createPattern

上级 536b285c
......@@ -231,8 +231,9 @@ function checkColor (e) {
}
function Pattern (image, repetition) {
this.image = image
this.repetition = repetition
this.type = 'pattern'
this.data = image
this.colorStop = repetition
}
class CanvasGradient {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册