5 Questions
Which type of shape is drawn first when using the canvas?
Shapes with a fill
What is the default fill color for shapes drawn on the canvas?
Black
How can you draw a rectangle with a green border?
Rect(left, top, width, height, border='green')
What is the default border width for shapes drawn on the canvas?
2
How can you draw a rectangle with a dashed green border?
Rect(left, top, width, height, border='green', dashes=True)
Test your knowledge of canvas coordinates and drawing shapes with this quiz. Learn about x and y coordinates, drawing rectangles, and setting fill colors. Challenge yourself to understand the order in which shapes are rendered on the canvas.
Make Your Own Quizzes and Flashcards
Convert your notes into interactive study material.
Get started for free