Mercurial > code > home > repos > light9
annotate stubs/PIL/ImageMath.pyi @ 2123:c4427fd59306
port some of ascoltami into lit
author | drewp@bigasterisk.com |
---|---|
date | Thu, 02 Jun 2022 23:24:09 -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.ImageMath (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 __builtin__ |
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 builtins = __builtin__ |
3b2255e3576d
big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff
changeset
|
9 VERBOSE: int |
3b2255e3576d
big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff
changeset
|
10 |
3b2255e3576d
big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff
changeset
|
11 class _Operand: |
3b2255e3576d
big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff
changeset
|
12 im: Any = ... |
3b2255e3576d
big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff
changeset
|
13 def __init__(self, im: Any) -> None: ... |
3b2255e3576d
big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff
changeset
|
14 def apply(self, op: Any, im1: Any, im2: Optional[Any] = ..., mode: Optional[Any] = ...): ... |
3b2255e3576d
big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff
changeset
|
15 def __bool__(self): ... |
3b2255e3576d
big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff
changeset
|
16 __nonzero__: Any = ... |
3b2255e3576d
big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff
changeset
|
17 def __abs__(self): ... |
3b2255e3576d
big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff
changeset
|
18 def __pos__(self): ... |
3b2255e3576d
big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff
changeset
|
19 def __neg__(self): ... |
3b2255e3576d
big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff
changeset
|
20 def __add__(self, other: Any): ... |
3b2255e3576d
big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff
changeset
|
21 def __radd__(self, other: Any): ... |
3b2255e3576d
big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff
changeset
|
22 def __sub__(self, other: Any): ... |
3b2255e3576d
big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff
changeset
|
23 def __rsub__(self, other: Any): ... |
3b2255e3576d
big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff
changeset
|
24 def __mul__(self, other: Any): ... |
3b2255e3576d
big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff
changeset
|
25 def __rmul__(self, other: Any): ... |
3b2255e3576d
big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff
changeset
|
26 def __truediv__(self, other: Any): ... |
3b2255e3576d
big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff
changeset
|
27 def __rtruediv__(self, other: Any): ... |
3b2255e3576d
big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff
changeset
|
28 def __mod__(self, other: Any): ... |
3b2255e3576d
big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff
changeset
|
29 def __rmod__(self, other: Any): ... |
3b2255e3576d
big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff
changeset
|
30 def __pow__(self, other: Any): ... |
3b2255e3576d
big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff
changeset
|
31 def __rpow__(self, other: Any): ... |
3b2255e3576d
big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff
changeset
|
32 __div__: Any = ... |
3b2255e3576d
big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff
changeset
|
33 __rdiv__: Any = ... |
3b2255e3576d
big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff
changeset
|
34 def __invert__(self): ... |
3b2255e3576d
big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff
changeset
|
35 def __and__(self, other: Any): ... |
3b2255e3576d
big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff
changeset
|
36 def __rand__(self, other: Any): ... |
3b2255e3576d
big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff
changeset
|
37 def __or__(self, other: Any): ... |
3b2255e3576d
big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff
changeset
|
38 def __ror__(self, other: Any): ... |
3b2255e3576d
big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff
changeset
|
39 def __xor__(self, other: Any): ... |
3b2255e3576d
big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff
changeset
|
40 def __rxor__(self, other: Any): ... |
3b2255e3576d
big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff
changeset
|
41 def __lshift__(self, other: Any): ... |
3b2255e3576d
big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff
changeset
|
42 def __rshift__(self, other: Any): ... |
3b2255e3576d
big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff
changeset
|
43 def __eq__(self, other: Any): ... |
3b2255e3576d
big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff
changeset
|
44 def __ne__(self, other: Any): ... |
3b2255e3576d
big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff
changeset
|
45 def __lt__(self, other: Any): ... |
3b2255e3576d
big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff
changeset
|
46 def __le__(self, other: Any): ... |
3b2255e3576d
big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff
changeset
|
47 def __gt__(self, other: Any): ... |
3b2255e3576d
big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff
changeset
|
48 def __ge__(self, other: Any): ... |
3b2255e3576d
big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff
changeset
|
49 |
3b2255e3576d
big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff
changeset
|
50 def imagemath_int(self): ... |
3b2255e3576d
big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff
changeset
|
51 def imagemath_float(self): ... |
3b2255e3576d
big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff
changeset
|
52 def imagemath_equal(self, other: Any): ... |
3b2255e3576d
big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff
changeset
|
53 def imagemath_notequal(self, other: Any): ... |
3b2255e3576d
big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff
changeset
|
54 def imagemath_min(self, other: Any): ... |
3b2255e3576d
big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff
changeset
|
55 def imagemath_max(self, other: Any): ... |
3b2255e3576d
big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff
changeset
|
56 def imagemath_convert(self, mode: Any): ... |
3b2255e3576d
big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff
changeset
|
57 |
3b2255e3576d
big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff
changeset
|
58 ops: Any |
3b2255e3576d
big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff
changeset
|
59 |
3b2255e3576d
big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff
changeset
|
60 def eval(expression: Any, _dict: Any = ..., **kw: Any): ... |