用法:
turtle.shearfactor(shear=None)
shear- 號碼(可選)
參數:
設置或返回當前剪切因子。根據給定的剪切因子剪切 turtle 形狀,即剪切角的正切。
not
改變 turtle 的航向(運動方向)。如果沒有給出剪切:返回當前的剪切因子,i。 e.剪切角的切線,平行於 turtle 航向的線被剪切。>>> turtle.shape("circle") >>> turtle.shapesize(5,2) >>> turtle.shearfactor(0.5) >>> turtle.shearfactor() 0.5
相關用法
- Python turtle.shearfactor()用法及代碼示例
- Python turtle.shapesize用法及代碼示例
- Python turtle.shape()用法及代碼示例
- Python turtle.shape用法及代碼示例
- Python turtle.shapetransform()用法及代碼示例
- Python turtle.showturtle()用法及代碼示例
- Python turtle.shapetransform用法及代碼示例
- Python turtle.speed()用法及代碼示例
- Python turtle.setworldcoordinates()用法及代碼示例
- Python turtle.setx()用法及代碼示例
- Python turtle.settiltangle()用法及代碼示例
- Python turtle.screensize用法及代碼示例
- Python turtle.setup用法及代碼示例
- Python turtle.sety用法及代碼示例
- Python turtle.speed用法及代碼示例
- Python turtle.settiltangle用法及代碼示例
- Python turtle.stamp用法及代碼示例
- Python turtle.setundobuffer()用法及代碼示例
- Python turtle.stamp()用法及代碼示例
- Python turtle.setx用法及代碼示例
注:本文由純淨天空篩選整理自python.org大神的英文原創作品 turtle.shearfactor。非經特殊聲明,原始代碼版權歸原作者所有,本譯文未經允許或授權,請勿轉載或複製。