Japanese Gardens
Japanese gardens have borders and edges. In some traditional gardens the walls or fences are an integral part of the aesthetic. Where the garden meets a building is also an important border that also has architectural input.
Temple architecture was imported from China and Korea, but because of the heavier rainfall in Japan one of the modifications was to extend the roof out further away from the edge of the building to protect the foundation stones.
These 4 photos show different ways the garden border where it meets the building have been practically and aesthetically designed at Kannon-ji Temple in Tottori
The garden at Kannon-ji is well worth a visit.