用法:
turtle.clearstamp(stampid)
stampid- 一個整數,必須是前一個的返回值turtle.stamp稱呼
參數:
刪除帶有給定
stampid
的戳記。>>> turtle.position() (150.00,-0.00) >>> turtle.color("blue") >>> astamp = turtle.stamp() >>> turtle.fd(50) >>> turtle.position() (200.00,-0.00) >>> turtle.clearstamp(astamp) >>> turtle.position() (200.00,-0.00)
相關用法
- Python turtle.clearstamps用法及代碼示例
- Python turtle.clearstamp()用法及代碼示例
- Python turtle.clearstamps()用法及代碼示例
- Python turtle.clear()用法及代碼示例
- Python turtle.clone()用法及代碼示例
- Python turtle.circle()用法及代碼示例
- Python turtle.colormode用法及代碼示例
- Python turtle.color用法及代碼示例
- Python turtle.circle用法及代碼示例
- Python turtle.colormode()用法及代碼示例
- Python turtle.color()用法及代碼示例
- Python turtle.write_docstringdict()用法及代碼示例
- Python turtle.reset用法及代碼示例
- Python turtle.delay()用法及代碼示例
- Python turtle.write()用法及代碼示例
- Python turtle.getpen()用法及代碼示例
- Python turtle.isvisible用法及代碼示例
- Python turtle.onkey用法及代碼示例
- Python turtle.tracer用法及代碼示例
- Python turtle.end_fill()用法及代碼示例
注:本文由純淨天空篩選整理自python.org大神的英文原創作品 turtle.clearstamp。非經特殊聲明,原始代碼版權歸原作者所有,本譯文未經允許或授權,請勿轉載或複製。