add drawLineOnPage