Gradient Tool ![Gradient Tool](images/Icons/Tools/GradientToolIcon.192.png)
G
The
Color gradients are rendered as a transition between the
The
Gradient Options
Once the
![Gradient Options](images/tools/fill/gradienttype.png)
Gradient Types
There are seven types of gradient. These different shapes or patterns are selected from the
![Gradient Types](images/mainwindow/ToolBar/GradientTypeAnimated.gif)
Drawing a Gradient
To draw a gradient, select the
After the mouse button is released, the gradient can be adjusted by dragging the
Color Mode
![Gradient Color Mode](images/tools/fill/GradientColorMode.png)
The default type of gradient is a color gradient that affects all color channels and the alpha channel.
The gradient will be drawn such that it fades from the
Transparency Mode
The special transparency mode is commonly used to fade out part of an image. This can also be quite useful for blending two images together. To access this mode, select it from the
![Gradient Transparency Mode](images/tools/fill/GradientTransparencyMode.png)
This type of gradient will only affect the alpha channel of the active layer.
The gradient will fade from the alpha value of the
If the
The images below on the left show gradients rendered in the different shapes using
![Original Image](images/tools/fill/gradientexample.png)
Note
Note: The checkerboard pattern indicates transparency. It is not part of the image and is not visible outside of Paint.NET's editing environment.
Gradient Examples
Linear
![Linear Gradient](images/tools/fill/gradientlinear.png)
![Linear Transparency](images/tools/fill/gradientlinearcar.png)
Linear (Reflected)
![Linear Gradient Reflected](images/tools/fill/gradientlinearreflect.png)
![Linear Transparency Reflected](images/tools/fill/gradientlinearreflectcar.png)
Diamond
![Diamond Gradient](images/tools/fill/gradientdiamond.png)
![Diamond Transparency](images/tools/fill/gradientdiamondcar.png)
Radial
![Radial Gradient](images/tools/fill/gradientradial.png)
![Radial Transparency](images/tools/fill/gradientradialcar.png)
Conical
![Conical Gradient](images/tools/fill/gradientconical.png)
![Conical Transparency](images/tools/fill/gradientconicalcar.png)
Spiral (Clockwise)
![Spiral (Clockwise)](images/tools/fill/GradientToolCW.png)
![Spiral (Clockwise) Transparency](images/tools/fill/GradientToolTranspCW.png)
Spiral (Anticlockwise)
![Spiral (Anticlockwise)](images/tools/fill/GradientToolACW.png)
![Spiral (Anticlockwise) Transparency](images/tools/fill/GradientToolTranspACW.png)
Blending Images
To do a "fade" or "blend", place the two images on separate layers, and then use a transparent gradient of any shape on the top layer.
Using the two example images from the Layers and Blend Modes sections, the following cross-faded image can be created simply by drawing a transparent gradient from left to right on the upper of the two layers:
Example
![Example 1](images/tools/fill/gradientcarseattle.png)
Repeat Modes
![Gradient Repeat Modes](images/tools/fill/GradientRepeatMode.png)
The Repeat Modes define how the gradient should act beyond the edges of the shape. The three modes are No Repeat, Repeat Wrapped and Repeat Reflected.
No Repeat ![Gradient No Repeat](images/Icons/Tools/GradientRepeatType.NoRepeat.192.png)
The graduated part of the gradient does not extend beyond the limits imposed by the control nubs. This is the behavior seen in Paint.NET 3.5x.
Repeat Wrapped ![Gradient Repeat Wrapped](images/Icons/Tools/GradientRepeatType.RepeatWrapped.192.png)
The gradient between the control nubs is repeated in slices the same width as the distance between the control nubs.
The slices will have a hard edge where one gradient finishes and the next begins.
Repeat Reflected ![Gradient Repeat Reflected](images/Icons/Tools/GradientRepeatType.RepeatReflected.192.png)
The gradient is mirrored along the edges. This results in a seamless repeating pattern.
The Repeat modes are demonstrated in this image.
![Gradient Repeat Modes](images/tools/fill/GradientToolRepeat.png)
Blend Modes ![Blend Mode Icon](images/Icons/Toolbar/AlphaBlending.True.192.png)
![Tool Blend Modes](images/mainwindow/ToolBar/BlendModes-tool-menu.png)