[Pillow] Fix typing of FreeTypeFont.getlength (#10663)

This commit is contained in:
mobyw
2023-09-05 20:02:14 +08:00
committed by GitHub
parent af97a12a87
commit fed788f2eb

View File

@@ -44,7 +44,7 @@ class FreeTypeFont:
direction: Literal["ltr", "rtl", "ttb"] | None = None,
features: Incomplete | None = None,
language: str | None = None,
) -> int: ...
) -> float: ...
def getbbox(
self,
text: str | bytes,