April 2013
Beginner
750 pages
20h 21m
English
The beginPath() function call
starts a path, and the closePath() function call ends the path. When
you connect two points inside a path, it is referred to as a
subpath. A subpath is considered “closed” if the final point connects to the first point.
The current transformation matrix will affect everything drawn in this path. As we will see when we explore the upcoming section on transformations, we will always want to set the transformation matrix to the identity (or reset) if we do not want any transformation applied to a path.
Read now
Unlock full access