Parameter values in code formatting

This commit is contained in:
Hugo 2020-06-04 11:43:24 +03:00
parent 95f3f359b7
commit cda682efc4

View File

@ -212,8 +212,8 @@ Methods
.. versionadded:: 1.1.5 .. versionadded:: 1.1.5
.. note:: This option was broken until version 1.1.6. .. note:: This option was broken until version 1.1.6.
:param joint: Joint type between a sequence of lines. It can be "curve", for rounded :param joint: Joint type between a sequence of lines. It can be ``"curve"``,
edges, or ``None``. for rounded edges, or ``None``.
.. versionadded:: 5.3.0 .. versionadded:: 5.3.0
@ -289,7 +289,7 @@ Methods
the number of pixels between lines. the number of pixels between lines.
:param align: If the text is passed on to :param align: If the text is passed on to
:py:meth:`~PIL.ImageDraw.ImageDraw.multiline_text`, :py:meth:`~PIL.ImageDraw.ImageDraw.multiline_text`,
"left", "center" or "right". ``"left"``, ``"center"`` or ``"right"``.
:param direction: Direction of the text. It can be ``"rtl"`` (right to :param direction: Direction of the text. It can be ``"rtl"`` (right to
left), ``"ltr"`` (left to right) or ``"ttb"`` (top to bottom). left), ``"ltr"`` (left to right) or ``"ttb"`` (top to bottom).
Requires libraqm. Requires libraqm.