1. 首页
  2. 数据库
  3. 其它
  4. Python turtle库的画笔控制说明

Python turtle库的画笔控制说明

上传者: 2020-12-31 07:19:54上传 PDF文件 45.18KB 热度 14次
turtle.penup() 别名 turtle.pu() :抬起画笔海龟在飞行 turtle.pendown() 别名 turtle.pd():画笔落下,海龟在爬行 turtle.pensize(width) 别名 turtle.width(width) :设置画笔的宽度,海龟的腰围 turtle.pencolor(color) color为颜色字符串或r,g,b值 : 颜色字符串:turtle.pencolor(“red”) RGB的小数值:turtle.pencolor(0.63,0.13,0.94) RGB的元组值:turtle.pencolor((0.63
下载地址
用户评论