用法:
turtle.clearstamps(n=None)
n- 一個整數(或
None
)
參數:
刪除所有或第一個/最後一個
n
的 turtle 圖章。如果n
是None
,則刪除所有印章,如果n
> 0 刪除第一個n
印章,否則如果n
n 印章。>>> for i in range(8): ... turtle.stamp(); turtle.fd(30) 13 14 15 16 17 18 19 20 >>> turtle.clearstamps(2) >>> turtle.clearstamps(-2) >>> turtle.clearstamps()
相關用法
- Python turtle.clearstamps()用法及代碼示例
- Python turtle.clearstamp用法及代碼示例
- Python turtle.clearstamp()用法及代碼示例
- 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.clearstamps。非經特殊聲明,原始代碼版權歸原作者所有,本譯文未經允許或授權,請勿轉載或複製。