Flooding areas

The Vector Flood Fill Tool lets you flood areas with color and texture as well as areas that can't otherwise be filled because they are not closed objects. New shapes are created as a result.

After flood filling using solid color.

Before flood filling using solid color. The Before shows the filling of both individual areas (by clicking/tapping) or adjacent areas (by dragging).

After flood filling using gradient fills and bitmaps.

Before flood filling using gradient fills and bitmaps.

About vector flood filling

Flood filling lets you 'color in' areas of your design that can't otherwise be filled with the Fill Tool. This includes areas created from overlapping closed/geometric shapes as well as open curves.

The Vector Flood Fill Tool detects edges in your drawing and then, if a fully enclosed area is detected, it will flood fill to the area's boundary. The current solid color (standard or global) or color gradient specified in the Fill color selector is used for the fill, thus creating a new shape. Assets (vector and bitmap), stock images and folder images (from your operating system) can also be used to flood fill.

Some examples include:

  • Flooding areas formed by crossing pencil lines
  • Creating complex filled vector meshes
  • Quick recoloring of individual shapes
  • Recoloring areas in architectural line drawings non-destructively

Fill types

The tool can flood with different types of fills, i.e.

  • solid or gradient fills—from any Fill color selector (e.g., on the Color panel).
  • vector designs—from vector assets stored in the Assets panel. Note that these are converted to bitmap fills.
  • bitmaps—from raster assets (Assets panel), stock images or images dragged from your operating system.

Scaling with gradient and bitmap fills

You can select the layer object of any gradient, bitmap or hatch fill for editing with the Fill Tool—this could include swapping the gradient type, adjusting how the gradient/bitmap/hatch fill scales or how the bitmap pattern extends.

When applied, the gradient or bitmap fill is scaled to span all areas being flood filled. Separate areas being flooded with the same fill cannot adopt their own independent gradient/bitmap scaling.

Flood filling with multiple transparent fills

If any of the above fills have reduced opacity or have alpha, they can optionally be 'layered up' to create multi-fill effects when applied in multiples—you can view this stacking in the Appearance panel. For example, transparency gradients and/or textures possessing transparency can be placed over a base solid color. Fill options on the tool's context toolbar lets you stack or replace fills.

Flooding with a solid fill will always completely replace any existing semi-transparent fill stack.

Picking up flood fills from previously selected areas

Instead of defining the flood fill color via a panel, you can pick up the fill from previously selected areas with the ⌥ (Mac) / Alt (Windows) modifier pressed and then flood to other areas. Similarly, bitmap fills can be picked up instead of filling from a image file or panel.

When picking up from areas with multiple fills, only the topmost fill will be used for flooding.

Filling to visible boundaries

When dragging across areas to flood fill, you can fill to overlapping shapes' outlines and either detect (and fill to) internal edges or ignore internal edges. For the latter, if shapes have the same fill color, then the flood fill will extend the fill to encompass those shapes automatically.

Flood filling (with green color) with Fill to Visible Boundaries disabled (A) and enabled (B).

How to flood an object with color

How to flood an object with a bitmap fill

How to flood fill areas on multiple objects that possess intersecting curves and shapes

Shortcuts

How would you rate the help you received from this article?