What is the returning value of the getContext() method?
A. Drawing model
B. CanvasRenderingContext2D object
C. Context2D object
D. None of the mentioned
Answer: Option B
Solution(By Examveda Team)
Call getContext() with the argument “2d” to obtain a CanvasRenderingContext2D object that you can use to draw two-dimensional graphics into the canvas. It is important to understand that the canvas element and its context object are two very different objects.Related Questions on Graphics and Rendering
What is the advantage of the code produced graphics being smaller than the images themselves?
A. Bandwidth saving
B. Increase in bandwidth
C. Dynamic advantages
D. None of the mentioned
Which of the following uses a lot of CPU cycles?
A. GUI
B. Statically generated graphics
C. Dynamically generated graphics
D. All of the mentioned
What is the purpose of image replacement?
A. To replace an image
B. To implement special effects
C. Removal of image rollovers
D. Implementation of image rollovers
Join The Discussion