InterviewSolution
Saved Bookmarks
| 1. |
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?(a) strokeRect(x, y, w, h)(b) clearRect(x, y, w, h)(c) fillRect(x, y, w, h)(d) removeRect(x,y,w,h)I have been asked this question in final exam.The query is from Client-Side Graphics with Canvas in portion HTML Markup, Forms, Video, Audio & Other Multimedia of HTML |
|
Answer» Correct option is (b) clearRect(x, y, W, h) |
|