Examveda
Examveda

Which is the method invoked to connect the last vertex back to the first?

A. closePath()

B. close()

C. connectlast(first)

D. none of the mentioned

Answer: Option A

Solution(By Examveda Team)

The closePath() method connects the last vertex back to the first, thereby creating a path.

This Question Belongs to Javascript >> Graphics And Rendering

Join The Discussion

Related Questions on Graphics and Rendering