I've managed to do this by drawing a gradient, then overlaying the gradient with a rectangle the same color as the background image to block out part of that gradient from right to left. It looks ok that way, but it's left me with two restrictions:
first, I'd like to switch from a solid color background to a background image, which would kill my idea of blocking out the gradient with background color.
Second, I'd like to use a rounded rectangle rather than a standard rectangle, to give the bars more of a sleek appearance. I tried using a no-fill rounded rectangle, but of course this just leaves the corners of the gradient showing outside of that frame... so I'm kind of stumped.
Thus, is it possible to use a gradient as a fill color? How could I rig this up to work, if not?





