InterviewSolution
Saved Bookmarks
| 1. |
Which is the method invoked to connect the last vertex back to the first?(a) closePath()(b) close()(c) connectlast(first)(d) connect()The question was posed to me in quiz.I want to ask this question from Graphics in division Graphics and Rendering of JavaScript |
|
Answer» CORRECT choice is (a) closePath() To explain: The closePath() METHOD connects the LAST vertex back to the FIRST, thereby creating a path. It connects the last point to the first point thereby creating a closed FIGURE. |
|