Skip to content

Commit dcbebee

Browse files
committed
docs: decorate argument values
1 parent fad2cde commit dcbebee

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

user_guide_src/source/libraries/images.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -252,13 +252,13 @@ that allow you to specify how the text should be displayed:
252252

253253
The possible options that are recognized are as follows:
254254

255-
- ``color`` Text Color (hex number), i.e., #ff0000
256-
- ``opacity`` A number between 0 and 1 that represents the opacity of the text.
255+
- ``color`` Text Color (hex number), i.e., ``'#ff0000'``
256+
- ``opacity`` A number between ``0`` and ``1`` that represents the opacity of the text.
257257
- ``withShadow`` Boolean value whether to display a shadow or not.
258258
- ``shadowColor`` Color of the shadow (hex number)
259259
- ``shadowOffset`` How many pixels to offset the shadow. Applies to both the vertical and horizontal values.
260-
- ``hAlign`` Horizontal alignment: left, center, right
261-
- ``vAlign`` Vertical alignment: top, middle, bottom
260+
- ``hAlign`` Horizontal alignment: ``'left'``, ``'center'``, ``'right'``
261+
- ``vAlign`` Vertical alignment: ``'top'``, ``'middle'``, ``'bottom'``
262262
- ``hOffset`` Additional offset on the x axis, in pixels
263263
- ``vOffset`` Additional offset on the y axis, in pixels
264264
- ``fontPath`` The full server path to the TTF font you wish to use. System font will be used if none is given.

0 commit comments

Comments
 (0)