a) closePath()
b) beginPath()
c) moveTo(x, y)
d) endPath()
Answer: b
Explanation: ClosePath() creates a path that starts from current point up to the starting point. The beginPath() method begins a path, or resets the current path. MoveTo(x, y) moves the point specified in canvas but without creating the line. There is nothing like endPath() in canvas.
Related Posts
Which attribute defines the file-select field?
Which attribute is used for activation of JavaScript?
How does the color attribute work?
Which of the following is a new input attribute introduce by HTML5?
What is the default type of ‘type’ attribute of <input> element?
Which browser supports mozCurrentSampleOffset?
What can not be done by controls attribute?
Join The Discussion