Why are the Tkinter canvas lines jagged?

给你一囗甜甜゛ 提交于 2019-11-29 06:52:19

tkinter graphics are not anti-aliased which is why the diagonal line appears jagged. There may be a platform specific work-around like this one I found titled Drawing Anti-Aliased Graphics Under Tkinter/Windows to provide the functionality you desire.

You might try to do some antialiasing of the poor, by drawing a clearer colored one pixel larger second line before (under) the first one.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!