Drawing forms with canvas. Jump to area

Drawing forms with canvas. Jump to area

Lines

For drawing lines that are straight make use of the lineTo() technique.

lineTo(x, y) Draws a line through the present drawing place towards the place specified by x and y .

This process takes two arguments, y and , that are the coordinates regarding the line’s end point. The point that is starting influenced by formerly drawn paths, where in fact the end point of this past course could be the kick off point for the after, etc. Continue reading