Exam 12: Canvas
Exam 1: Introduction to Web Programming28 Questions
Exam 2: Coding Standards, Block Elements, Text Elements, and Character References30 Questions
Exam 3: Cascading Style Sheets (CSS)29 Questions
Exam 4: Organizing a Pages Content With Lists, Figures, and Various Organizational Elements30 Questions
Exam 5: Tables and Css Layout30 Questions
Exam 6: Links and Images30 Questions
Exam 7: Image Manipulations, Audio, and Video30 Questions
Exam 8: Introduction to Javascript: Functions, Dom, Forms, and Event Handlers28 Questions
Exam 9: Additional Javascript Basics: Window Object, If Statement, Strings, Numbers, and Input Validation30 Questions
Exam 10: Loops, Additional Controls, Manipulating Css With Javascript29 Questions
Exam 11: Object-Oriented Programming and Arrays30 Questions
Exam 12: Canvas30 Questions
Exam 13: Web Development and HTML/CSS98 Questions
Select questions type
If you would like your drawn rectangle's border to have a line width equal to the value specified by the lineWidth property, you should call the strokeRect method before the fillRect method.
(True/False)
4.8/5
(35)
Given the following syntax for the arc method, what do x and y represent?
<code>context.arc(x, y, radius, start-angle, end-angle, counterclockwise);</code>
(Multiple Choice)
4.9/5
(46)
When assigning colors for canvas shapes, you can use any of the color value formats that are used for CSS.
(True/False)
4.8/5
(39)
After the browser engine assigns a value to the context object's lineWidth property, that line width will be used for all subsequent line drawings until the lineWidth property is reassigned.
(True/False)
4.9/5
(41)
How do you specify the color for the interior of a rectangle?
(Multiple Choice)
4.7/5
(45)
What does the following method call do?
context.setTransform(1, 0, 0, 1, 0, 0);
(Essay)
4.8/5
(32)
To rotate around a position different from the coordinate system's origin, you should first call <code>translate</code> to move the origin so it is centered at the position where you want the rotation to take place.
(True/False)
4.8/5
(39)
Given the following syntax for the clearRect method, if you want to clear the entire canvas drawing area, what values are appropriate for the method's third and fourth arguments?
Context.clearRect(top-left-x, top-left-y, width, height);
(Multiple Choice)
4.9/5
(35)
Which of the following is the context object property in charge of specifying vertical alignment for text in the canvas drawing area?
(Multiple Choice)
4.8/5
(34)
Given the following syntax for the clearRect method, if you want to clear the entire canvas drawing area, what values are appropriate for the method's first two arguments?
Context.clearRect(top-left-x, top-left-y, width, height);
(Multiple Choice)
4.7/5
(39)
Showing 21 - 30 of 30
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)