diff --git a/stubs/PIL/PSDraw.pyi b/stubs/PIL/PSDraw.pyi new file mode 100644 --- /dev/null +++ b/stubs/PIL/PSDraw.pyi @@ -0,0 +1,21 @@ +# Stubs for PIL.PSDraw (Python 3) +# +# NOTE: This dynamically typed stub was automatically generated by stubgen. + +from typing import Any, Optional + +class PSDraw: + fp: Any = ... + def __init__(self, fp: Optional[Any] = ...) -> None: ... + isofont: Any = ... + def begin_document(self, id: Optional[Any] = ...) -> None: ... + def end_document(self) -> None: ... + def setfont(self, font: Any, size: Any) -> None: ... + def line(self, xy0: Any, xy1: Any) -> None: ... + def rectangle(self, box: Any) -> None: ... + def text(self, xy: Any, text: Any) -> None: ... + def image(self, box: Any, im: Any, dpi: Optional[Any] = ...) -> None: ... + +EDROFF_PS: str +VDI_PS: str +ERROR_PS: str