python中箭头是什么意思_python流程框⾥⾯的箭头是什么意
思
2015-05-21回答
你⽤的graphics模块?这不是内置的,虽然它是调⽤内置的tkinter画图。
option可以是"first","last","both"或"none"。见:
deftarrow(lf,option):
ifnotoptionin["first","last","both","none"]:
raigraphicrror(bad_option)
lf._reconfig("arrow",option)
细节要查tk⽂档:
vaslineobject
ingeneral,alinecanconsistofanynumberofgmentsconnectedendtoend,andeachgmentcanbestraightor
teacanvaslineobjectonacanvasc,u:
id=_line(x0,y0,x1,y1,...,xn,yn,option,...)
thelinegoesthroughtheriesofpoints
(x0,
y0),
(x1,
y1),
…
(xn,
yn).
optionsinclude:
arrow=firsttogetanarrowheadatthe(x0,y0)
arrow=
arrow=bothforarrowheadsatbothends.
本文发布于:2023-01-03 05:48:11,感谢您对本站的认可!
本文链接:http://www.wtabcd.cn/fanwen/fan/90/82505.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
留言与评论(共有 0 条评论) |