HTML and CSS Reference
In-Depth Information
Text and the Canvas Context
We've already discussed a couple Canvas context properties that affect the canvas in a global
fashion:
fillStyle
and
strokeStyle
. However, there are two areas that visually demon-
stratehowchangestothepropertiesofthecontextcanaffecttheentireHTML5Canvas:alpha
transparencies and shadows.