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:
|
2024-06-19 22:48:48 +03:00
|
|
|
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: ...
|
|
|
|
|
2024-06-19 01:43:23 +03:00
|
|
|
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: ...
|
2024-06-19 01:43:23 +03:00
|
|
|
def outline() -> _Outline: ...
|
2024-02-10 11:50:45 +03:00
|
|
|
def __getattr__(name: str) -> Any: ...
|