Drawing Api: Line gradients

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)

youd need to do a fill.

The only way to do it with lines is a bunch of little lines drawn at varying differences of color to create the gradient (though each line itself is just a small segment of solid color - together they would give the impression of a gradient)

Thanks for the idea… wil have to play around with that…

or you could just make a gradient, and use a line mask ;D

there’s a ‘convert lines to fill’ function in the modify menu that allows you to change your line to a fill (hints the name) and then add a gradient

how about a 1pixel width fill? :smiley:

cant use lines as masks :wink:

he wants to use the drawing api which doesnt make that possible

yeah, but he could draw the line using the drawing api and then use that function

[edit]wait a minute, what’s the drawing api lol[/edit]

[edit]oh yeah, I remember, hmmmm… you’re right, blast[/edit]

I’d just draw a one pixel tall rect. and fill that