ExamCompetition Forum Question Papers Ask A Question Mock Test Learn & Earn Sign Up Login Menu



0 vote

What is the returning value of the getContext() method?

Asked on by | Votes 0 | Views: 24 | Tags: computer science     | javascript     | graphics and rendering     | Add Bounty

What is the returning value of the getContext() method?

A).  Drawing model

B).  CanvasRenderingContext2D object

C).  Context2D object

D).  None of the mentioned


Share on Facebook      Share on Whatsapp       Share on Twitter




1 answers

0 vote
Answered by on | Votes 0 |

 CanvasRenderingContext2D object



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.

Join Telegram Group




Answer This Question

Name:
Email:
Answer :
Sum of (3+4)
Submit: