HTML and CSS Reference
In-Depth Information
Filling Objects with Colors and Gradients
In this chapter, we have quickly looked at color and fill styles as we proceeded through the
discussions of basic and complex shape construction. In this section, we will take a deeper
look at coloring and filling shapes we draw on the canvas. In addition to these simple col-
ors and fills, there are a number of different gradient styles that we can employ. Furthermore,
Canvas also has a method to fill shapes with bitmap images. (See Chapter 4 .)
Search WWH ::




Custom Search