mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-24 00:04:09 +03:00
Rearranged text
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
This commit is contained in:
parent
7359af91f0
commit
bce9df62f1
|
@ -139,10 +139,10 @@ class ImageFont:
|
||||||
"""
|
"""
|
||||||
.. deprecated:: 9.2.0
|
.. deprecated:: 9.2.0
|
||||||
|
|
||||||
See :ref:`deprecations <Font size and offset methods>` for more information.
|
|
||||||
|
|
||||||
Use :py:meth:`.getbbox` or :py:meth:`.getlength` instead.
|
Use :py:meth:`.getbbox` or :py:meth:`.getlength` instead.
|
||||||
|
|
||||||
|
See :ref:`deprecations <Font size and offset methods>` for more information.
|
||||||
|
|
||||||
Returns width and height (in pixels) of given text.
|
Returns width and height (in pixels) of given text.
|
||||||
|
|
||||||
:param text: Text to measure.
|
:param text: Text to measure.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user