红宝书关于Canvas绘制图形需要先取得绘图上下文
let drawing = document.getElementByTagName('canvas');
if(drawing.getContext) {
//...
}
2D绘
2020-07-31