Files
@ 19c2e6216cf8
Branch filter:
Location: light9/stubs/PIL/ImageFont.pyi - annotation
19c2e6216cf8
1.3 KiB
text/plain
support disconnect() on a reconnectingWebSocket to make it stop connecting
Ignore-this: db2fa6ff2ccdeadecf1fc7a1d144535c
Ignore-this: db2fa6ff2ccdeadecf1fc7a1d144535c
3b2255e3576d 3b2255e3576d 3b2255e3576d 3b2255e3576d 3b2255e3576d 3b2255e3576d 3b2255e3576d 3b2255e3576d 3b2255e3576d 3b2255e3576d 3b2255e3576d 3b2255e3576d 3b2255e3576d 3b2255e3576d 3b2255e3576d 3b2255e3576d 3b2255e3576d 3b2255e3576d 3b2255e3576d 3b2255e3576d 3b2255e3576d 3b2255e3576d 3b2255e3576d 3b2255e3576d 3b2255e3576d 3b2255e3576d 3b2255e3576d 3b2255e3576d 3b2255e3576d 3b2255e3576d 3b2255e3576d 3b2255e3576d 3b2255e3576d 3b2255e3576d 3b2255e3576d 3b2255e3576d 3b2255e3576d 3b2255e3576d | # Stubs for PIL.ImageFont (Python 3)
#
# NOTE: This dynamically typed stub was automatically generated by stubgen.
from typing import Any, Optional
class _imagingft_not_installed:
def __getattr__(self, id: Any) -> None: ...
class ImageFont: ...
class FreeTypeFont:
path: Any = ...
size: Any = ...
index: Any = ...
encoding: Any = ...
font: Any = ...
font_bytes: Any = ...
def __init__(self, font: Optional[Any] = ..., size: int = ..., index: int = ..., encoding: str = ...) -> None: ...
def getname(self): ...
def getmetrics(self): ...
def getsize(self, text: Any): ...
def getoffset(self, text: Any): ...
def getmask(self, text: Any, mode: str = ...): ...
def getmask2(self, text: Any, mode: str = ..., fill: Any = ...): ...
def font_variant(self, font: Optional[Any] = ..., size: Optional[Any] = ..., index: Optional[Any] = ..., encoding: Optional[Any] = ...): ...
class TransposedFont:
font: Any = ...
orientation: Any = ...
def __init__(self, font: Any, orientation: Optional[Any] = ...) -> None: ...
def getsize(self, text: Any): ...
def getmask(self, text: Any, mode: str = ...): ...
def load(filename: Any): ...
def truetype(font: Optional[Any] = ..., size: int = ..., index: int = ..., encoding: str = ...): ...
def load_path(filename: Any): ...
def load_default(): ...
|