Skip to content

Commit b2a1a8a

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

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

user_guide_src/source/libraries/images.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -252,17 +252,17 @@ 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.
265-
- ``fontSize`` The font size to use. When using the GD handler with the system font, valid values are between 1-5.
265+
- ``fontSize`` The font size to use. When using the GD handler with the system font, valid values are between ``1`` to ``5``.
266266

267267
.. note:: The ImageMagick driver does not recognize full server path for fontPath. Instead, simply provide the
268268
name of one of the installed system fonts that you wish to use, i.e., Calibri.

0 commit comments

Comments
 (0)