Draws a text string on the image in a specified location, with the
specified style information.
public text ( $string, integer $x, integer $y, string $font = '', string $color = 'black', integer $direction, string $fontsize = 'small' ) |
$x |
integer |
The left x coordinate of the start of the
text string. |
$y |
integer |
The top y coordinate of the start of the text
string. |
$font |
string |
The font identifier you want to use for the
text. |
$color |
string |
The color that you want the text displayed in. |
$direction |
integer |
An integer that specifies the orientation of
the text. |
$fontsize |
string |
Size of the font (small, medium, large, giant) |