Paint bucket overview
Click on the
icon to turn the Paint Bucket Tool on.
You can use this tool to fill closed shapes with a color or gradient. The applied color will depend on your Color Panel's settings:

When selecting this tool, the Tool Panel's settings will change accordingly:

All those parameters will be explained in detail in the Colorize and texturize section of this user manual.