跳转至

tkintertools.toolbox.enhanced

字数 26 个   代码 10 行   阅读时间不到 1 分钟   访问量

Enhanced versions of some tkinter classes and functions

🟢PhotoImage

class public | PhotoImage PhotoImage

🟡resize

method public

1
2
3
4
5
def resize(
    self,
    width: int,
    height: int,
) -> PhotoImage: ...
Resize the PhotoImage

🟡scale

method public

1
2
3
4
5
def scale(
    self,
    x: float,
    y: float,
) -> PhotoImage: ...
Scale the PhotoImage