view stubs/PIL/PSDraw.pyi @ 1996:31f50f9bd62f

checkpoint show data Ignore-this: 6a4489bea9324db3c7d8301aa41926a4
author drewp@bigasterisk.com
date Sun, 09 Jun 2019 21:33:50 +0000
parents 3b2255e3576d
children
line wrap: on
line source

# 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