HTML and CSS Reference
In-Depth Information
What's Not Part of the State?
The current path (which we will explore later in this chapter) and current bitmap (see
importantfeaturewillallowustodrawandanimateindividualobjectsonthecanvas.Thesec-
tion
SimpleCanvasTransformations
utilizestheCanvasstatetoapplytransformationstoonly
thecurrentshapebeingconstructed anddrawn,leavingtherestofthecanvasnottransformed.