contents   index   previous   next



GD string()

syntax:

gd.string(font, x, y, char, color)

gd.string(font, point, char, color)

where:

font - Font specification to use

 

x - horizontal position of upper-left corner of character

 

y - vertical position of upper-left corner of character

 

point - Point specification. See GD getPixel() for a description.

 

string - The string to draw.

 

color - color index or style to use for string

 

return:

void.

 

description:

This method draws a string on the current image, at the specified location and in the appropriate color. If the coordinates are out of bounds, then no drawing is done.

 

see:

#link <gd>, GD drawChar(), GD stringUp()

 

 


GD stringUp()