Q13
Which method is used to obtain the “drawing context” object ?
A.
getContext()
AnswerB.
getObject()
C.
get()
D.
getDrawing()
Answer: Option A
Solution
Answer: Option A
Solution:
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.