Paint.NET

documentation

Revision Date: 16 May 2015

Paint Bucket Tool  Paint Bucket

The Paint Bucket is used to fill an area with single specific color or hue.

Position the cursor over the area to be filled and click with the Left mouse button to fill with the Primary color.   Use the Right mouse button to fill the area with the Secondary color.

Flood Modes

The Paint Bucket has two distinct modes of operation known as the Flood Mode.   These modes dictate how the 'fill' operation works and are selectable via the Tool Bar.

Flood Mode: Contiguous - the 'fill' will continue to bleed outwards from the click point until neighboring pixels fail to satisfy the Tolerance setting.

Flood Mode: Global - the 'fill' will extend to all the pixels in the layer which satisfy the Tolerance setting.

Note

The keyboard shortcut to enable Global fill mode is the Shift key.   Hold the Shift key down while clicking to temporarily enable Global mode.

Tolerance

The Tolerance setting in the Tool Bar is a test of conformity.   A low setting dictates that pixels must be a close match to the click point pixel in order to be filled.   A high setting allows a wider variance of pixels to be included in the fill operation.

Tip

New to Paint.NET is the ability to adjust the Tolerance while a fill is still 'active' and not 'finished'.   Altering the Tolerance reinterprets the fill operation using the original click point with the new parameter.
Click the Finish button in the Tool Bar or press Enter to commit the fill to the layer.

Fill Styles

The Paint Bucket will fill a region with a Fill Type as specified in the Tool Bar.   This feature allows regions to be filled with one of numerous patterns rather than a solid color.

Fill Styles Tool Bar Fill Styles

Fills utilizing a fill style will make use of both the Primary and Secondary colors.

Sampling Modes

The Paint Bucket has two sampling modes, Image and Layer.   These dictate which pixels will be sampled to determine the extent of the fill operation.

Sampling Modes Sampling Mode Icons

Image - pixels are polled from the composite image to determine their suitability to be included in the fill operation.   This mode will operate in the same way as if a multi-layered image was flattened prior to using the Paint Bucket tool.   Pixels outside an active selection will be ignored and only pixels within the active layer will be subject to the fill.

Layer - pixels only within the active layer and selection (if any) are polled to determine their suitability to be included in the fill operation.   This is the same sampling mode as found in previous versions of Paint.NET.

Tip

New to Paint.NET is the ability to adjust the click point of the Paint Bucket Tool while the fill is still 'active' and not 'finished'.   Click and drag the Control nub to relocate the click point.   The fill operation will be reinterpreted as if the user had undone the original fill and reapplied it using the new source point.
Click the Finish button in the Tool Bar or press Enter to commit the fill to the layer.

Blend Modes

The Paint Bucket can be applied using a blend mode selected from the Tool Bar.   The fill will be applied in accordance with the other parameters (Tolerance, Sampling Mode, Fill Style, etc....) then reinterpreted as if the pixels were on their own layer with the layer blend mode set.

Tool Blend Modes Tool Blend Modes

In the example shown below, two circles were drawn.  The Tolerance was set to 75% to ensure the anti-aliased edges were less affected.   The Paint Bucket was applied three times: once inside each circle, and once in the overlapping region.   The first fill used the Left Mouse button, resulting in a fill in the Primary color (purple).   The second fill used the Right Mouse button so the Secondary color was used (red).   The overlapping region was filled with one of the available Fill Styles (Zig Zag) which uses both Primary and Secondary colors.

Example

Fill style demonstration

Example 1

Before filling

Example 2

After two solid fills and a third using a patterned fill style.