To draw on the canvas, authors must first obtain a reference to a context using the ______________ method of the canvas interface element.
(a) getImageData
(b) toDataURL
(c) getContext
(d) restore
I got this question in an online interview.
This interesting question is from Client-Side Graphics with Canvas in chapter HTML Markup, Forms, Video, Audio & Other Multimedia of HTML