Planar focusing elements using spatially varying near-resonant aperture arrays.