Add a example on rect boundaries.