visibleRect method