A

Admin • 833K Points
Coach

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

  • (A) getContext()
  • (B) getObject()
  • (C) get()
  • (D) getDrawing()
  • Correct Answer - Option(A)
  • Views: 22
  • Filed under category JavaScript
  • Hashtags:

Explanation by: Admin

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.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.