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
Chapter 4 ) being manipulated on the Canvas context are not part of the saved state. This very
tion SimpleCanvasTransformations utilizestheCanvasstatetoapplytransformationstoonly
thecurrentshapebeingconstructed anddrawn,leavingtherestofthecanvasnottransformed.
Search WWH ::

Custom Search