update
This commit is contained in:
parent
0ee7b8742d
commit
6678d2b8ce
@ -29,7 +29,8 @@ console.log(canvas2.style.width)
|
||||
}
|
||||
})
|
||||
```
|
||||
html2canvas
|
||||
html2canvas与canvas参考文档
|
||||
### 重点介绍
|
||||
context.scale(x 倍数, y 倍数); //画板放大指定倍数
|
||||
canvas2.width = w * times * window.devicePixelRatio; //指定画板宽度
|
||||
canvas2.height = h * times * window.devicePixelRatio; //指定画板宽度
|
||||
|
Loading…
x
Reference in New Issue
Block a user