How to paint a gradient with TexDraw brush? In texture painting mode, the TexDraw brush has a functional "Use Gradient" checkbox (functionnal meaning it will actually let you chose a gradient, compared with the Smear brush for instance which does not). However, I can't seem to make it work in pressure mode: it only paints with the rightmost color. Repeat mode works by making selecting colors randomly within the gradient and clamp mode uses one color on clicking and the other on dragging (I have no idea why anyone would want to use it this way...)

Basically I would like to make it work with the stroke set to "Line", that is being able to draw a straight line whose color is that of the gradient. Can this be done? The only brush that seems to work with gradients is the Fill brush, but I just need to draw lines, not to fill an area.
Strokes set to Line do not give you the ability to see a gradient travel along it, or curve for that matter. TexBrush with gradient and pressure in the Strength ticked on (be sure to adjust the strength to allow for some fluctuation) can be useful for changing the color along the gradient ramp, but then it is really about using your manual stroke here to control the pressure - wit hthat, I sometimes play with the Shift-S Smooth Stroke or Lazy Stroke to control my line/curve while painting.