'Writes' ASCII text on the image. You can choose from a variety of settings to customize it, including fonts, colors, sizes, positioning and antialiasing.
| Parameter | Description | Required | Allowed Values | Default |
|---|---|---|---|---|
| text | ASCII value to write. | Yes | [CData] | n/a |
| color | The font color for the text. | No | [#RRGGBB] | 000000 (black) |
| antiAliasing | Whether to anti alias the font. Results in smooth edges if used. | No | [true, false] | false |
| fontURI | A URI identifying the font to be loaded. | No | [URI] | System Default Font |
| fontSize | The font size in pixels. | No | [1-n] | 12 |
| fontStyle | The derived font style. | No | [plain, italic, bold] | plain |
| opacity | The font color opacity, where 0 is translucent and 100 is opaque. | No | [0-100] | 100 |
| orientation | The font orientation in degrees, based on the original orientation assumed bein 0 for 'north'. | No | [0-360] | 0 |
| position | Quick 'dial pad' positioning, where 1 is top-left and 9 is bottom-right | No | [1-9] | 9 |
| borderOffset | Text pixel distance from the nearest border, based on position. | No | [1-n] | 0 |
| id | HTML id attribute. | No | [CData] | n/a |
| image | Image source URI. | Yes | [URI] | n/a |
| encode | Encoding format for the resulting image. | No | [png , gif , jpg , tif , bmp] | Source image format |
| width | Image width. | No | [CData] | n/a |
| height | Image height. | No | [CData] | n/a |
| title | Image title shown on tooltips. | No | [CData] | n/a |
| border | Image border width. | No | [CData] | n/a |
| cssClass | css class applied to the image tag. | No | [CData] | n/a |
| cssStyle | css style directly applied to the image tag. | No | [CData] | n/a |
| onclick | Javascript handling for this event. | No | [Javascript] | n/a |
| ondblclick | Javascript handling for this event. | No | [Javascript] | n/a |
| onmousedown | Javascript handling for this event. | No | [Javascript] | n/a |
| onmouseup | Javascript handling for this event. | No | [Javascript] | n/a |
| onmouseover | Javascript handling for this event. | No | [Javascript] | n/a |
| onmousemove | Javascript handling for this event. | No | [Javascript] | n/a |
| onmouseout | Javascript handling for this event. | No | [Javascript] | n/a |
| onkeydown | Javascript handling for this event. | No | [Javascript] | n/a |
| onkeyup | Javascript handling for this event. | No | [Javascript] | n/a |