Specify the position where the text will be rendered in relation to the source image.
Values
The default value of this parameter is right,bottom
For more information on how to specify positions visit the position values section.
Examples
If no text-position
parameter is specified the position right,bottom
will be used by default. If you need to set is explicitly you can use text-position=right,bottom
:
GET
https://assets.imglab-cdn.net/particles.jpeg?text-position=right%2Cbottom
In this example we are setting text position horizontally on the left and vertically on the top with text-position=left,top
:
GET
https://assets.imglab-cdn.net/particles.jpeg?text-position=left%2Ctop
To set the position of the text to be in the horizontal and vertical center of the image we can use text-position=center,middle
:
GET
https://assets.imglab-cdn.net/particles.jpeg?text-position=center%2Cmiddle