Start
Previous Next
3. Basics of PhotoLine / 3.4 The Color Editor

### 3.4.4 The Gradients-Subdialog

This subdialog of the Color Editor allows to create and modify gradient colors. Furthermore you can add colors to the gradient list by dragging and delete gradients from the list by using its context menu.

At the top of the dialog in the middle is the currently selected color. Below that there are the controls for editing gradient colors. A combobox allows to define whether the gradient should be created in RGB or in the HIS color space. HIS-gradients usually are more colorful than RGB ones. Another combobox allows to select the gradient type. There are Linear, Circle, Radial Mirrored and Radial:

Position controls size and the direction of the gradient. These values are always relative to the bounds of the layer, in which the gradient color is used. If you are holding Shift while dragging, the position will snap to the edges and to the center.

The color bar defines the colors of the gradient. The small color fields below the bar can be moved with the mouse. If a color field is dragged outside the bar, it will be deleted. By clicking at a location with no field a new one is created. If the Ctrl-key (Windows) or the Command-key (Mac OS) is pressed while clicking, the color field will get the corresponding color from the color bar. By double-clicking a color field, it can be edited with the Color Editor (see chapter 3.4). The Color Editor allows to modify the transparency of the given color, too.

The context menu of the color fields shows a list with predefined colors, the context menu of the whole bar offers additional functions, that are explained in the following.