# Drawing Api: Line gradients

**URL:** <https://forum.kirupa.com/t/drawing-api-line-gradients/52616>\
**Category:** flash\
**Created:** [May 25, 2004, 7:44pm UTC](https://forum.kirupa.com/t/drawing-api-line-gradients/52616 "2004-05-25T19:44:47Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ordinathorreur](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/ordinathorreur/32/536_2.png) [@Ordinathorreur](https://forum.kirupa.com/u/Ordinathorreur)\
**Post date:** [May 25, 2004, 7:44pm UTC](https://forum.kirupa.com/t/drawing-api-line-gradients/52616/1 "2004-05-25T19:44:47Z")

</div>

Can I apply a gradient to a line I drew with the drawing api? Or can I only use gradients on the fill? :puzzle:

I want to draw a line with the api that fades from left to right (to be a little more specific)
