annotate stubs/PIL/ImageTk.pyi @ 2302:a6b611f32cce

rewrite Effect.ts to operate on new effect graphs
author drewp@bigasterisk.com
date Tue, 30 May 2023 23:58:47 -0700
parents 3b2255e3576d
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1947
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
1 # Stubs for PIL.ImageTk (Python 3)
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
2 #
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
3 # NOTE: This dynamically typed stub was automatically generated by stubgen.
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
4
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
5 import Tkinter
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
6 from typing import Any, Optional
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
7
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
8 tkinter = Tkinter
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
9
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
10 class PhotoImage:
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
11 tk: Any = ...
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
12 def __init__(self, image: Optional[Any] = ..., size: Optional[Any] = ..., **kw: Any) -> None: ...
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
13 def __del__(self) -> None: ...
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
14 def width(self): ...
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
15 def height(self): ...
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
16 def paste(self, im: Any, box: Optional[Any] = ...) -> None: ...
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
17
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
18 class BitmapImage:
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
19 def __init__(self, image: Optional[Any] = ..., **kw: Any) -> None: ...
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
20 def __del__(self) -> None: ...
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
21 def width(self): ...
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
22 def height(self): ...
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
23
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
24 def getimage(photo: Any) -> None: ...