Animation

  1. Home
  2. Computing & Technology
  3. Animation

Deconstructing the Paint Application XI: Gradient Tool Options

By Adrien-Luc Sanders, About.com

2 of 5

The first thing to do is set up your input text boxes - one for each of the two controllable gradient colors, one for each of the two alpha values, and one for the angle of the gradient. If you’re referencing the code I linked in the last step, you’ll be able to recognize the variables that I used: gcolor1, gcolor2, galpha1, galpha2, and gangle. I know, the names are so inventive.

Explore Animation

About.com Special Features

Animation

  1. Home
  2. Computing & Technology
  3. Animation
  4. Flash Animation Tutorials
  5. Deconstructing the Paint Application XI: Gradient Tool Options

©2009 About.com, a part of The New York Times Company.

All rights reserved.