Fill Tool¶
Krita has one of the most powerful and capable Fill functions available. The options found in the Tool Options docker and outlined below will give you a great deal of flexibility working with layers and selections.
To get started, clicking anywhere on screen with the fill-tool will allow that area to be filed with the foreground color.
Tool Options¶
- Fill Mode
- Current Selection
Activating this will result in the shape filling the whole of the active selection.
- Contiguous Region
This option is the default and allows filling a region of contiguous pixels obtained from the image at the point where the user clicks.
- Regions of Similar Color
Neu in Version 5.2.
This option allows filling all the regions similar in color to the pixel where the user clicks
- Fill Source
- Foreground Color
Selecting this option will fill the obtained region with the foreground color.
- Background Color
Neu in Version 5.1.
Selecting this option will fill the obtained region with the background color.
- Pattern
Selecting this option will fill the obtained region with the current pattern.
- Scale
Neu in Version 4.4.
This allows you to scale the pattern used in the fill.
- Rotation
Neu in Version 4.4.
This allows you to rotate the pattern used in the fill.
- Fill Extent
- Pixel Selection Modes
Neu in Version 5.2.
When filling a contiguous region, the user can choose how the pixels are selected based on color similarity.
- Threshold
Determines when the fill-tool sees another color as a border. In other words, how far the region should extend from the selected pixel in terms of color similarity.
- Spread
Neu in Version 5.1.
Set how far the fully opaque portion of the region should extend. 0% will make opaque only the pixels that are exactly equal to the selected pixel. 100% will make opaque all the pixels in the region up to its boundary.
- Use Selection as Boundary
Neu in Version 4.4.
When checked, this will count the borders of the selection as an extra boundary on top of the pixel difference.
- Adjustments
- Anti-aliasing
Neu in Version 5.1.
This will smooth the jagged edges present in the region. It differs from feathering in that this will smooth in the direction of the edge instead of all directions, and only if the edge is jagged (high contrast).
- Grow Selection
This value extends (positive values) or contracts (negative values) the region.
- Stop Growing at the Darkest and/or More Opaque Pixels
Neu in Version 5.2.
This option is useful when filling inner regions of a lineart. When the lines have smooth borders, some unwanted pixels may remain unfilled between the line’s darkest or more opaque parts and the filled region. To improve that, it is common to grow the region a bit to cover those pixels.
One issue that may arise is that the lines vary in width and the expanded region exceeds some of the thinner ones. If this option is selected, the growing process will stop adaptively if the color of the pixels begins to get lighter or less opaque. This effectively prevents the expanded region from reaching the opposite side of the lines.
- Feathering Radius
This value will add a soft border to the region.
- Reference
Neu in Version 4.3.
Select which layers to use as a reference for the fill tool. The options are:
- Current Layer
Only use the currently selected layer.
- All layers
Use all visible layers.
- Color Labeled Layers
Use only the layers specified with a certain color label. This is useful for complex images, where you might have multiple lineart layers. Label them with the appropriate color label and use these labels to mark which layers to use as a reference.
- Labels Used
Select the color labels of the layers that should be used as reference.
- Drag-Fill Mode
Neu in Version 5.1.
Select what should happen when one clicks and drags the pointer on the canvas.
- Fill Regions of Any Color
With this option selected, the tool will fill any region along the path described by the pointer while dragging, regardless of its color.
- Fill Regions of Similar Colors
With this option selected, the tool will fill the regions along path described by the pointer while dragging that have the same color as the first region filled.