In this chapter you’re going to explore some of the more advanced functionality that canvas provides. You’ll be looking at ways to save time if you want to use lots of different drawing styles, as well as how to transform and manipulate your drawings so they look more exciting. Toward the middle of the chapter you’ll leam how to create shadows and gradients to make your shapes more realistic and interesting. The chapter ends with a look at creating exotic shapes using advanced paths, followed by finding out how to export the canvas as an image so you can store it or use it at a later date.
KeywordsTransformation Matrix Radial Gradient Bezier Curve Fill Color Drawing State
Unable to display preview. Download preview PDF.