第3步:将草地放在道路两旁。
- 将 Rectangle 拖动到程序中,并将其命名为 lawn1。
- 将 lawn1 放置在 (-200, 0)。设置其宽度为 100 个像素,高为 500 个像素。将颜色更改为 "lightgreen"。
- 将另一个 Rectangle 拖动到程序中,并将其命名为 lawn2。
- 将 lawn2 放置在 (200, 0)。设置其宽度为 100个像素,高为 500 个像素。将颜色更改为 "lightgreen"。
To navigate the page using the TAB key, first press ESC to exit the code editor.