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

  • (A) getContext()
  • (B) getObject()
  • (C) get()
  • (D) getDrawing()
πŸ’¬ Discuss
βœ… Correct Answer: (A) getContext()
Explanation: 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.
Explanation by: Mr. Dubey
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.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
226
Total Visits
πŸ“½οΈ
2 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
86%
Success Rate