ofPath: rect -> rectangle