补充安装文档
This commit is contained in:
		@@ -162,17 +162,6 @@ export class Chessboard {
 | 
			
		||||
            context.lineTo(边距, 边距)
 | 
			
		||||
            context.stroke()
 | 
			
		||||
 | 
			
		||||
            //// 绘制棋子们
 | 
			
		||||
            //context.font = '20px serif'
 | 
			
		||||
            //context.fillStyle = 'red'
 | 
			
		||||
            //context.fillText('車', 0+边距-(比例/5), 20+边距-(比例/5))
 | 
			
		||||
            //context.stroke()
 | 
			
		||||
            //// 绘制棋子们
 | 
			
		||||
            //context.font = '20px serif'
 | 
			
		||||
            //context.fillStyle = 'red'
 | 
			
		||||
            //context.fillText('馬', 0+边距-(比例/5) + (比例*1), 20+边距-(比例/5))
 | 
			
		||||
            //context.stroke()
 | 
			
		||||
 | 
			
		||||
            // 单独保存绘制好的棋盘
 | 
			
		||||
            const chessboard = canvas.toDataURL()
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user