HTML and CSS Reference
In-Depth Information
In the next section, we will look at some transformations that affect the entire canvas. As a
result, if we want to transform only the newly drawn shape, we will have to use the
save()
and
restore()
functions.