Hi Lulu
In version 7, the pen and the background can have different gradients. For example, you can set a gradient for the filling of a rectangle (back color) and a different one for the pen.
For the gradient tool, the gradient is specified in the back color. The pen color is not used in this case.
First way (copy/paste color definition):
- make sure the color window is displayed
- select the back color by clicking on its preview in the top toolbar
- using the color picker, for each color, pick it with right click and copy/paste its text definition into a text editor (for example #ff0000 for red)
- choose the gradient tool
- in the top toolbar, you have a preview of the gradient. Click on the left part to select the start color, paste the definition by right-clicking the text box and select Paste. Same with right part for end color.
Note: you cannot do Ctrl-V because that's for pasting images and shapes. That could be improved I guess, because if you are editing the color, you would rather want to paste text into it.
Second way (using palette to store colors)
- make sure the palette is displayed (on the right) and the color window as well
- select the back color by clicking on its preview in the top toolbar
- empty the palette to make it easier to find the colors (using palette menu button)
- using the color picker, for each color, pick it with right click and add it to the palette (top-left button of the color window)
- choose the gradient tool or any drawing tool
- do Ctrl-Left click in the palette to select start color and Ctrl-Right click to select end color
It feels like it could be simplified.
https://github.com/bgrabitmap/lazpaint/issues/207