Erase drawn sections with graphics API?

Is there no way to erase a part of a graphic without clear() ing the whole thing?

Thanks,
Hunter