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 demonstrate how changes to the properties of the
context can affect the entire HTML5 Canvas: alpha transparencies and
shadows.
Get HTML5 Canvas, 2nd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.