坐标、moveTo(知识点) lineTo(知识点) 连线命令 格式:pen.lineTo( x, y ); 功能:笔的位置移动到指定的坐标,并画出线段。 说明:lineTo命令会画出线条,但笔的方向不改变。