One interesting idea by the way for developers
Create an extension allows to create some various gradient type (like in Photoshop)
- Gradient Style : Linear, Radial, Angle, Reflected and Diamond
- Ramp : Set Start/End points and add/change/delete cue points
- Size/Offset : Set offset, set width/height, set position and set scale.
See a sample source, here :