Despite how open or closed a door is, we perceive the door as a rectangle. Which type of constancy does this demonstrate?

A. Size

B. Shape

C. Brightness

D. Color

E. Position