Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想移动 tkinter 画布上的坐标,以便左下角是(0, 0),这意味着右上角是(height, width)。
(0, 0)
(height, width)
我该怎么做?
给定画布高度和传入的所需元素高度,最简单的方法是编写一个反转垂直坐标的函数。
你不能。您必须对所有坐标进行数学运算,才能将它们从一个坐标系转换到另一个坐标系。