用法:
turtle.settiltangle(angle)
angle- 一個號碼
參數:
旋轉 turtle 形狀以指向
angle
指定的方向,而不管其當前的 tilt-angle。Do not
改變 turtle 的航向(運動方向)。>>> turtle.reset() >>> turtle.shape("circle") >>> turtle.shapesize(5,2) >>> turtle.settiltangle(45) >>> turtle.fd(50) >>> turtle.settiltangle(-45) >>> turtle.fd(50)
自 3.1 版起已棄用。
相關用法
- Python turtle.settiltangle()用法及代碼示例
- Python turtle.setworldcoordinates()用法及代碼示例
- Python turtle.setx()用法及代碼示例
- Python turtle.setup用法及代碼示例
- Python turtle.sety用法及代碼示例
- Python turtle.setundobuffer()用法及代碼示例
- Python turtle.setx用法及代碼示例
- Python turtle.setheading用法及代碼示例
- Python turtle.seth()用法及代碼示例
- Python turtle.sety()用法及代碼示例
- Python turtle.setworldcoordinates用法及代碼示例
- Python turtle.speed()用法及代碼示例
- Python turtle.shapesize用法及代碼示例
- Python turtle.shape()用法及代碼示例
- Python turtle.screensize用法及代碼示例
- Python turtle.shape用法及代碼示例
- Python turtle.shapetransform()用法及代碼示例
- Python turtle.speed用法及代碼示例
- Python turtle.stamp用法及代碼示例
- Python turtle.showturtle()用法及代碼示例
注:本文由純淨天空篩選整理自python.org大神的英文原創作品 turtle.settiltangle。非經特殊聲明,原始代碼版權歸原作者所有,本譯文未經允許或授權,請勿轉載或複製。