Why a black shape in a normal editor fails
A shape drawn in a regular PDF editor sits on top of the words. They stay in the file, so anyone can select and copy them or drag the shape away. That is how details leak from court filings and reports people thought were blacked out.