为了将绘图区域填充上颜色,使用的函数有
A: begin_fill
B: filling
C: fillcolor
D: end_fill
A: begin_fill
B: filling
C: fillcolor
D: end_fill
举一反三
- 以下哪个选项是颜色填充的正确写法? A: start_fill()和done()_fill B: begin_fill()和finish()_fill C: start_fill()和end()_fill D: begin_fill()和end()_fill
- 为了将绘图区域填充上颜色,使用的函数有
- 绘制一个红色的五角星,下列程序哪个是正确的? A: from turtle import * fillcolor("red") begin_fill() while True: forward(300) right(144) if abs(pos()) < 1: break end_fill() B: from turtle import * fillcolor("red") begin_fill() while True: forward(200) right(155) if abs(pos()) < 1: break end_fill() C: ffrom turtle import * fillcolor("red") begin_fill() while True: forward(200) right(144) if pos() < 1: break end_fill() D: from turtle import * fillcolor("red") begin_fill() while True: forward(200) right(144) if abs(pos()) < 2: break end_fill()
- Processing 函数:fill()用于取消颜色填充。
- 用于设置画笔颜色的函数有 A: pencolor B: color C: fillcolor D: filling