Examveda
Examveda

Which method is used to obtain the “drawing context” object ?

A. getContext()

B. getObject()

C. get()

D. getDrawing()

Answer: Option A

Solution(By Examveda Team)

Most of the Canvas drawing API is defined not on the canvas element itself, but instead on a “drawing context” object obtained with the getContext() method of the canvas.

This Question Belongs to Javascript >> Graphics And Rendering

Join The Discussion

Related Questions on Graphics and Rendering