Question
a.
strokeRect(x, y, w, h)
b.
clearRect(x, y, w, h)
c.
fillRect(x, y, w, h)
d.
none of the mentioned
Posted under HTML
Engage with the Community - Add Your Comment
Confused About the Answer? Ask for Details Here.
Know the Explanation? Add it Here.
Q. Which method must clear the pixels in the specified rectangle that also intersects the current clipping region to a fully transparent black, erasing any previous image?
Similar Questions
Discover Related MCQs
Q. When the _____________ method is passed an animated image as its image argument, the user agent must use the poster frame of the animation, or, if there is no poster frame, the first frame of the animation.
View solution
Q. The ____________ method must create a new clipping region by calculating the intersection of the current clipping region and the area described by the current path, using the non-zero winding number rule.
View solution
Q. The ____________ method must fill all the subpaths of the current path, using fillStyle, and using the non-zero winding number rule.
View solution
Q. Which of the following methods must empty the list of subpaths so that the context once again has zero subpaths?
View solution
Q. An API is an application programming interface consisting of methods and properties which allow the author to get or set data or execute commands to the user agent.
View solution
Q. YUI compressor is written in ____________
View solution
Q. Which compressor gives maximum GZIPPED compression?
View solution
Q. CSSMin is written in ___________
View solution
Q. HTMLMinifier is written in ________
View solution
Q. Which option is not available in HTMLMinifier?
View solution
Q. __________ can be used to advise the browser to download media content in the background to improve playback.
View solution
Q. The _________ element is used to render simple graphics such as line art, graphs, and other custom graphical elements on the client side.
View solution
Q. State true or False. “Prior to HTML5 in web market, traditionally, multimedia has been inserted with the concept of tag-based multimedia back”.
View solution
Q. Which plugins can provide the fallback support for old browsers?
View solution
Q. What more needs to be achieved to fulfil the promises of the Open Web Platform?
View solution
Q. State whether the given statement is true or false. “HTML5 brings to the Web video and audio tracks without needing plugins”.
View solution
Q. Which protocol is supported by Android browsers?
View solution
Q. __________ is a JavaScript library that implements the most common user interface elements and interactions like sliders, accordions, tabs, and so on.
View solution
Q. In HTML Audio/Video DOM, __________ sets or returns whether the audio/video should be loaded when the page loads.
View solution
Q. Which of the following is not a HTML5 tag?
View solution
Suggested Topics
Are you eager to expand your knowledge beyond HTML? We've curated a selection of related categories that you might find intriguing.
Click on the categories below to discover a wealth of MCQs and enrich your understanding of Computer Science. Happy exploring!