1.

Which is the method invoked to begin a path?(a) begin()(b) path()(c) createPath()(d) beginPath()I had been asked this question by my school teacher while I was bunking the class.Asked question is from Graphics topic in chapter Graphics and Rendering of JavaScript

Answer»

Correct option is (d) beginPath()

EXPLANATION: The beginPath() method begins a PATH, or resets the current path. It is called before CREATING any path or CURVE.



Discussion

No Comment Found

Related InterviewSolutions