massive update, probably broken
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-pyright / node_modules / pyright / dist / typeshed-fallback / stubs / Pillow / PIL / ImageDraw2.pyi
1 from typing import Any
2
3 class Pen:
4     color: Any
5     width: Any
6     def __init__(self, color, width: int = ..., opacity: int = ...) -> None: ...
7
8 class Brush:
9     color: Any
10     def __init__(self, color, opacity: int = ...) -> None: ...
11
12 class Font:
13     color: Any
14     font: Any
15     def __init__(self, color, file, size: int = ...) -> None: ...
16
17 class Draw:
18     draw: Any
19     image: Any
20     transform: Any
21     def __init__(self, image, size: Any | None = ..., color: Any | None = ...) -> None: ...
22     def flush(self): ...
23     def render(self, op, xy, pen, brush: Any | None = ...) -> None: ...
24     def settransform(self, offset) -> None: ...
25     def arc(self, xy, start, end, *options) -> None: ...
26     def chord(self, xy, start, end, *options) -> None: ...
27     def ellipse(self, xy, *options) -> None: ...
28     def line(self, xy, *options) -> None: ...
29     def pieslice(self, xy, start, end, *options) -> None: ...
30     def polygon(self, xy, *options) -> None: ...
31     def rectangle(self, xy, *options) -> None: ...
32     def text(self, xy, text, font) -> None: ...
33     def textsize(self, text, font): ...