mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-11-10 19:56:47 +03:00
Merge pull request #5007 from radarhere/text
Clarified that "text" must be a string
This commit is contained in:
commit
8dfc0364fe
|
@ -296,7 +296,7 @@ Methods
|
|||
Draws the string at the given position.
|
||||
|
||||
:param xy: The anchor coordinates of the text.
|
||||
:param text: Text to be drawn. If it contains any newline characters,
|
||||
:param text: String to be drawn. If it contains any newline characters,
|
||||
the text is passed on to
|
||||
:py:meth:`~PIL.ImageDraw.ImageDraw.multiline_text`.
|
||||
:param fill: Color to use for the text.
|
||||
|
@ -362,7 +362,7 @@ Methods
|
|||
Draws the string at the given position.
|
||||
|
||||
:param xy: The anchor coordinates of the text.
|
||||
:param text: Text to be drawn.
|
||||
:param text: String to be drawn.
|
||||
:param fill: Color to use for the text.
|
||||
:param font: An :py:class:`~PIL.ImageFont.ImageFont` instance.
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user