Exam 14: Html5: Introduction to Canvas

arrow
  • Select Tags
search iconSearch Question
flashcardsStudy Flashcards
  • Select Tags

The ________ attribute is used to create alpha transparency.

Free
(Multiple Choice)
4.9/5
(36)
Correct Answer:
Verified

B

With the ________ attribute value, the images are transparent where they overlap and normal elsewhere.

Free
(Multiple Choice)
4.7/5
(32)
Correct Answer:
Verified

C

To specify the coordinates of the rectangle, we use fillRect in which format (where w is the width, h is the height, and x and y are the coordinates of the starting point)

Free
(Multiple Choice)
4.9/5
(36)
Correct Answer:
Verified

C

The ________ method can stretch a circle to create an ellipse.

(Multiple Choice)
4.7/5
(27)

Use the ________ method to draw a radial gradient to a canvas.

(Multiple Choice)
4.9/5
(36)

The ________ method draws an image to a canvas.

(Multiple Choice)
4.8/5
(29)

When drawing an arc, the sixth argument specifies ________.

(Multiple Choice)
4.7/5
(29)

________ have a starting point, an ending point and two control points through which the curve passes.

(Multiple Choice)
4.8/5
(38)

The starting point of a quadratic curve is the last subpath destination, specified using the ________ method.

(Multiple Choice)
4.8/5
(42)

Using the ________ attribute value, if the source image is opaque and the destination is transparent, the source image is displayed where the images overlap. Both images are transparent where there is no overlap.

(Multiple Choice)
4.7/5
(31)

The ________ method obtains an object that contains the pixels to manipulate.

(Multiple Choice)
4.8/5
(32)

The ________ method sets the x- and y-coordinates of the path's origin.

(Multiple Choice)
4.8/5
(27)

The ________ specifies the color of the rectangle.

(Multiple Choice)
5.0/5
(38)

The ________ method starts the path.

(Multiple Choice)
4.8/5
(29)

When resizing the canvas to fill the browser window, set the the x1 value to ________ and the y1 value to ________, so no matter the size of the window, the x1 value will always be the width of the canvas and the y1 value the height of the canvas.

(Multiple Choice)
5.0/5
(36)

You can change the transformation matrix (the coordinates) on the canvas using method ________ so that the center of the canvas becomes the point of origin with the x, y values 0, 0.

(Multiple Choice)
4.7/5
(31)

If you use the ________ attribute value, the source image is displayed where the images overlap and both are opaque. Both images are transparent where there is no overlap.

(Multiple Choice)
4.9/5
(43)

The canvas element's default width is ________.

(Multiple Choice)
4.9/5
(41)

Which of the following is false

(Multiple Choice)
4.9/5
(45)

The ________ method can draw a circle to the canvas.

(Multiple Choice)
4.9/5
(33)
Showing 1 - 20 of 36
close modal

Filters

  • Essay(0)
  • Multiple Choice(0)
  • Short Answer(0)
  • True False(0)
  • Matching(0)