HTML5 Game Development by Example:Beginner's Guide(Second Edition)
上QQ阅读APP看书,第一时间看更新

Drawing lines in the Canvas

Now we have several circles here, so how about connecting them with lines? Let's draw a straight line between each circle.