update
This commit is contained in:
parent
2b623a0970
commit
df49674cf5
@ -36,3 +36,6 @@ console.log(canvas2.style.width)
|
||||
html2canvas参数参考官网 重点介绍canvas那一部分
|
||||
context.scale(x 倍数, y 倍数); //画板放大指定倍数
|
||||
|
||||
canvas2.width = w * times * window.devicePixelRatio; //指定画板宽度
|
||||
canvas2.height = h * times * window.devicePixelRatio; //指定画板宽度
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user