C777 Unit 4: HTML5 APIs Questions and Answers Solved Correctly
JavaScript - ANSWER-Which language is used to access HTML elements via the DOM? getContext() - ANSWER-Which method returns a context object, which provides properties and methods that can be used to draw and manipulate images on the canvas? fillRect(x,y,width,height) - ANSWER-Which method draws a filled rectangle? strokeRect(x,y,width,height) - ANSWER-Which method draws a rectangular outline? clearRect(x,y,width,height) - ANSWER-Which method clears the specified area and makes it fully transparent? beginPath() - ANSWER-Which method begins a drawing path or resets the current path? closePath() - ANSWER-Which method ends the current drawing path? moveTo(x,y) - ANSWER-Which method moves the drawing pointer to a specified position? arc(x,y,radius,startAngle,endAngle,anticlockwise) - ANSWER-Which method draws a curving line with a center, a given radius, a starting and ending angle (in radians), and instruction to draw in a clockwise or counterclockwise direction?
Written for
- Institution
- C777 Unit 4: HTML5 APIs
- Course
- C777 Unit 4: HTML5 APIs
Document information
- Uploaded on
- April 12, 2024
- Number of pages
- 5
- Written in
- 2023/2024
- Type
- Exam (elaborations)
- Contains
- Questions & answers
Subjects
-
c777 unit 4 html5 apis questions and answers solv
-
c777 unit 4 html5 apis questions stuvia
-
application programming interface api answer w
Document also available in package deal