Pillow/src/PIL/_imaging.pyi

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

31 lines
816 B
Python
Raw Normal View History

2024-02-10 11:50:45 +03:00
from typing import Any
2024-05-07 16:59:20 +03:00
class ImagingCore:
def __getattr__(self, name: str) -> Any: ...
class ImagingFont:
def __getattr__(self, name: str) -> Any: ...
class ImagingDraw:
def __getattr__(self, name: str) -> Any: ...
class PixelAccess:
def __getitem__(self, xy: tuple[int, int]) -> float | tuple[int, ...]: ...
def __setitem__(
self, xy: tuple[int, int], color: float | tuple[int, ...]
) -> None: ...
2024-05-07 16:59:20 +03:00
2024-06-18 15:44:17 +03:00
class ImagingDecoder:
def __getattr__(self, name: str) -> Any: ...
class ImagingEncoder:
def __getattr__(self, name: str) -> Any: ...
class _Outline:
def close(self) -> None: ...
def __getattr__(self, name: str) -> Any: ...
2024-06-12 14:15:55 +03:00
def font(image: ImagingCore, glyphdata: bytes) -> ImagingFont: ...
def outline() -> _Outline: ...
2024-02-10 11:50:45 +03:00
def __getattr__(name: str) -> Any: ...