Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

Using Gradients

You can use two kinds of gradients to fill your shapes: LinearGradients and RadialGradients. LinearGradients are gradients that fill in a straight line from one side of a shape to the opposite side. RadialGradients start the gradient at one point, and the gradient radiates out from that point to fill the shape.

In the section that follows you learn how to apply a LinearGradient to a rectangle.


  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial