turtle.hideturtle()
简:turtle.ht()
使海龟不可见。
turtle.hideturtle()
turtle.showturtle()
简:turtle.st()
使海龟可见。
turtle.showturtle()
turtle.isvisible()
如果海龟显示返回 True,如果海龟隐藏返回 False
turtle.shape(name=None)
参数
name – 一个有效的形状名字符串
设置海龟形状为 name 指定的形状名,如未指定形状名则返回当前的形状名
常用的有: “arrow”, “turtle”, “circle”, “square”, “triangle”, “classic”,“turtle”
turtle.resizemode(rmode=None)
参数
rmode – 字符串 “auto”, “user”, “noresize” 其中之一
设置大小调整模式为以下值之一:
“auto”: 根据画笔粗细值调整海龟的外观。
“user”: 根据拉伸因子和轮廓宽度 (outline) 值调整海龟的外观,两者是由 shapesize() 设置的。
“noresize”: 不调整海龟的外观大小。
大小调整模式 (“user”) 会在 shapesize() 带参数调用时生效。
turtle.shapesize(stretch_wid=None, stretch_len=None, outline=None)
turtle.turtlesize(stretch_wid=None, stretch