Skip to content

Commit 14302aa

Browse files
committed
Fix parameter formatting
1 parent 87de783 commit 14302aa

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

docs/reference/ImageDraw.rst

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -212,8 +212,8 @@ Methods
212212
.. versionadded:: 1.1.5
213213

214214
.. note:: This option was broken until version 1.1.6.
215-
:param joint: Joint type between a sequence of lines. It can be "curve",
216-
for rounded edges, or None.
215+
:param joint: Joint type between a sequence of lines. It can be "curve", for rounded
216+
edges, or ``None``.
217217

218218
.. versionadded:: 5.3.0
219219

@@ -281,7 +281,7 @@ Methods
281281
:param xy: Top left corner of the text.
282282
:param text: Text to be drawn. If it contains any newline characters,
283283
the text is passed on to
284-
:py:meth:`~PIL.ImageDraw.ImageDraw.multiline_text`
284+
:py:meth:`~PIL.ImageDraw.ImageDraw.multiline_text`.
285285
:param fill: Color to use for the text.
286286
:param font: An :py:class:`~PIL.ImageFont.ImageFont` instance.
287287
:param spacing: If the text is passed on to
@@ -322,9 +322,9 @@ Methods
322322
.. versionadded:: 6.2.0
323323

324324
:param stroke_fill: Color to use for the text stroke. If not given, will default to
325-
the ``fill`` parameter.
325+
the ``fill`` parameter.
326326

327-
.. versionadded:: 6.2.0
327+
.. versionadded:: 6.2.0
328328

329329
.. py:method:: PIL.ImageDraw.ImageDraw.multiline_text(xy, text, fill=None, font=None, anchor=None, spacing=4, align="left", direction=None, features=None, language=None)
330330
@@ -368,7 +368,7 @@ Methods
368368
Return the size of the given string, in pixels.
369369

370370
:param text: Text to be measured. If it contains any newline characters,
371-
the text is passed on to :py:meth:`~PIL.ImageDraw.ImageDraw.size`
371+
the text is passed on to :py:meth:`~PIL.ImageDraw.ImageDraw.size`.
372372
:param font: An :py:class:`~PIL.ImageFont.ImageFont` instance.
373373
:param spacing: If the text is passed on to
374374
:py:meth:`~PIL.ImageDraw.ImageDraw.multiline_textsize`,

0 commit comments

Comments
 (0)