Imagepstext
(PHP3 >= 3.0.9, PHP4 >= 4.0rc1)
Imagepstext---&http://www.aliyun.com/zixun/aggregation/37954.html ">nbsp; use PostScript Type1 font to draw text strings on a graphic
Syntax: array imagepstext (int image, string text, int font, int size, int foreground, int background, int x, int y [, int tightness [, float angle [, int antialias_steps]]]
Description:
Size represents (expressed) pixels.
Foreground is the color of the text to be colored, background is the color that the text will try to fade (fade).
The coordinate x,y will be defined as the origin (or reference point) of the first character (the lower-left corner of the character), unlike imagestring (), where imagestring () is the upper-right corner of the character.
Space allows you to change the default value of the spacing (spaces) in the font, which adds to the standard values and can be negative.
tightness allows you to control the total number of whitespace between two characters, which is added to the standard value and can be negative.
Angle is the degree.
Antialias_steps allows you to control the number of antialiasing text colors, allowing values of 4 and 16.
The parameter space and tightness represent the blank unit of the character, Unit 1 is the 1/1000th of the Em-square.
Parameters space, tightness, angle, and AntiAlias are all non-essential.
The returned array contains the following elements:
0 left Lower x coordinate 1 left lower corner y-coordinate 2 upper right corner x coordinate 3 right corner y-coordinate
Reference: Imagepsbbox ()