Using the Auto Erase optionThe Auto Erase option for the pencil tool lets you paint the background color over areas containing the foreground color. To use the Auto Erase option:
If the center of the cursor is over the foreground color when you begin dragging, the area is erased to the background color. If the center of the cursor is over an area that doesn't contain the foreground color when you begin dragging, the area is painted with the foreground color. |