Lucee Function Reference
imagedrawtext()
Draws a text string on a image with the baseline of the first character positioned at (x,y) in the image.
Beispiel
imagedrawtext(any image,string string,number x,number y,[struct attributeCollection]):void
Kategorie
image
Argumente
Die Argumente für diese Funktion sind fest vorgegeben. Ausser den nachfolgenden Argumenten dürfen keine weiteren verwendet werden.
Name | Typ | Required | Beschreibung |
---|---|---|---|
image | any | Yes | The image on which this operation is performed. |
string | 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: |