Mercurial > code > home > repos > light9
annotate stubs/PIL/PSDraw.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 |
rev | line source |
---|---|
1947
3b2255e3576d
big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff
changeset
|
1 # Stubs for PIL.PSDraw (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 from typing import Any, Optional |
3b2255e3576d
big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff
changeset
|
6 |
3b2255e3576d
big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff
changeset
|
7 class PSDraw: |
3b2255e3576d
big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff
changeset
|
8 fp: Any = ... |
3b2255e3576d
big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff
changeset
|
9 def __init__(self, fp: Optional[Any] = ...) -> None: ... |
3b2255e3576d
big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff
changeset
|
10 isofont: Any = ... |
3b2255e3576d
big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff
changeset
|
11 def begin_document(self, id: Optional[Any] = ...) -> None: ... |
3b2255e3576d
big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff
changeset
|
12 def end_document(self) -> None: ... |
3b2255e3576d
big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff
changeset
|
13 def setfont(self, font: Any, size: Any) -> None: ... |
3b2255e3576d
big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff
changeset
|
14 def line(self, xy0: Any, xy1: Any) -> None: ... |
3b2255e3576d
big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff
changeset
|
15 def rectangle(self, box: Any) -> None: ... |
3b2255e3576d
big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff
changeset
|
16 def text(self, xy: Any, text: Any) -> None: ... |
3b2255e3576d
big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff
changeset
|
17 def image(self, box: Any, im: Any, dpi: Optional[Any] = ...) -> None: ... |
3b2255e3576d
big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff
changeset
|
18 |
3b2255e3576d
big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff
changeset
|
19 EDROFF_PS: str |
3b2255e3576d
big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff
changeset
|
20 VDI_PS: str |
3b2255e3576d
big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff
changeset
|
21 ERROR_PS: str |