mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-04 19:28:50 +08:00
[Pillow] Fix typing of FreeTypeFont.getlength (#10663)
This commit is contained in:
1 parent
af97a12a87
commit
fed788f2eb
1 file changed
+1
-1
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user