Function __global->imagettftext
Definitions
sources_custom/phpstub.php
- Draw a string.
- Is abstract?: No
- Is static?: No
- Is final?: No
- Return: N/A
Parameters
Name | Type | Default | Set | Range | Description |
---|---|---|---|---|---|
$handle | resource | required parameter | N/A | N/A | The image handle |
$size | float | required parameter | N/A | N/A | The font size in pixels |
$angle | float | required parameter | N/A | N/A | Angle in degrees in which text will be measured |
$x | integer | required parameter | N/A | N/A | X-ordinate |
$y | integer | required parameter | N/A | N/A | Y-ordinate |
$colour | integer | required parameter | N/A | N/A | Colour code |
$fontfile | string | required parameter | N/A | N/A | The name of the TrueType font file |
$text | string | required parameter | N/A | N/A | Text to draw |
Return
- Tuple: lower-left-X, lower-left-Y, lower-right-X, lower-right-Y, upper-right-X, upper-right-Y, upper-left-X, upper-left-Y (false: error)
- Type: ~array
- Set: N/A
- Range: N/A