Podcast
Questions and Answers
Which type of shape is drawn first when using the canvas?
Which type of shape is drawn first when using the canvas?
- Shapes with a dashed border
- Shapes with a green border
- Shapes with a fill (correct)
- Shapes with a border
What is the default fill color for shapes drawn on the canvas?
What is the default fill color for shapes drawn on the canvas?
- Green
- None
- Undefined
- Black (correct)
How can you draw a rectangle with a green border?
How can you draw a rectangle with a green border?
- Rect(left, top, width, height, border='black')
- Rect(left, top, width, height, fill=None)
- Rect(left, top, width, height, border='green') (correct)
- Rect(left, top, width, height, fill='green')
What is the default border width for shapes drawn on the canvas?
What is the default border width for shapes drawn on the canvas?
How can you draw a rectangle with a dashed green border?
How can you draw a rectangle with a dashed green border?