mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-24 17:06:16 +03:00
Corrected ImageDraw multiline text param documentation [ci skip]
This commit is contained in:
parent
ee40cb06fa
commit
d072ee469c
|
@ -243,8 +243,7 @@ Methods
|
||||||
Draws the string at the given position.
|
Draws the string at the given position.
|
||||||
|
|
||||||
:param xy: Top left corner of the text.
|
:param xy: Top left corner of the text.
|
||||||
:param text: Text to be drawn. If it contains any newline characters,
|
:param text: Text to be drawn.
|
||||||
the text is split and passed on to mulitiline_text()
|
|
||||||
:param fill: Color to use for the text.
|
:param fill: Color to use for the text.
|
||||||
:param font: An :py:class:`~PIL.ImageFont.ImageFont` instance.
|
:param font: An :py:class:`~PIL.ImageFont.ImageFont` instance.
|
||||||
:param spacing: The number of pixels between lines.
|
:param spacing: The number of pixels between lines.
|
||||||
|
@ -262,8 +261,7 @@ Methods
|
||||||
|
|
||||||
Return the size of the given string, in pixels.
|
Return the size of the given string, in pixels.
|
||||||
|
|
||||||
:param text: Text to be measured. If it contains any newline characters,
|
:param text: Text to be measured.
|
||||||
the text is split and passed on to mulitiline_textsize()
|
|
||||||
:param font: An :py:class:`~PIL.ImageFont.ImageFont` instance.
|
:param font: An :py:class:`~PIL.ImageFont.ImageFont` instance.
|
||||||
:param spacing: The number of pixels between lines.
|
:param spacing: The number of pixels between lines.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user