Lucee Function Reference
Function IMAGEDRAWTEXT
Draws a text string on a image with the baseline of the first character positioned at (x,y) in the image.
Example
imagedrawtext(any name,string str,number x,number y,[struct attributeCollection]):void
Arguments
The arguments for this function are set. You can not use other arguments except the following ones.
| Name | Type | Required | Description |
|---|---|---|---|
| name | any | Yes | The image on which this operation is performed. |
| str | string | Yes | the text to draw. |
| x | number | Yes | The x coordinate for the start point of the string. |
| y | number | Yes | The y coordinate for the start point of the string. |
| attributeCollection | struct | No |
a structure used to specify the text characteristics. the following keys are supported: |