用法:
turtle.stamp()
在當前 turtle 位置將 turtle 形狀的副本標記到畫布上。為該標記返回一個 stamp_id,可通過調用
clearstamp(stamp_id)
將其刪除。>>> turtle.color("blue") >>> turtle.stamp() 11 >>> turtle.fd(50)
相關用法
- Python turtle.stamp()用法及代碼示例
- Python turtle.speed()用法及代碼示例
- Python turtle.shapesize用法及代碼示例
- Python turtle.setworldcoordinates()用法及代碼示例
- Python turtle.shape()用法及代碼示例
- Python turtle.setx()用法及代碼示例
- Python turtle.settiltangle()用法及代碼示例
- Python turtle.screensize用法及代碼示例
- Python turtle.shape用法及代碼示例
- Python turtle.setup用法及代碼示例
- Python turtle.shapetransform()用法及代碼示例
- Python turtle.sety用法及代碼示例
- Python turtle.speed用法及代碼示例
- Python turtle.settiltangle用法及代碼示例
- Python turtle.setundobuffer()用法及代碼示例
- Python turtle.showturtle()用法及代碼示例
- Python turtle.shapetransform用法及代碼示例
- Python turtle.shearfactor()用法及代碼示例
- Python turtle.setx用法及代碼示例
- Python turtle.shearfactor用法及代碼示例
注:本文由純淨天空篩選整理自python.org大神的英文原創作品 turtle.stamp。非經特殊聲明,原始代碼版權歸原作者所有,本譯文未經允許或授權,請勿轉載或複製。