Single Choice
Easy
QWhat is the value returned by the getContext() method?
ID: #5256
Javascript Graphics and Rendering MCQ
132 views
Question Info
#5256Q ID
EasyDifficulty
Javascript Graphics and Rendering MCQTopic
Your Answer
Choose the Best Option
Click any option to instantly check if you're correct.
Correct Answer
Explanation
Get a CanvasRenderingContext2D object by calling getContext() with the argument "2d."
This object can be used to draw two-dimensional graphics into the canvas.
It is critical to recognise that the canvas element and its context object are two distinct objects.
Continue Practice
Share
Share This Question
Challenge a friend or share with your study group.
More from This Topic