ImagePSBBox
(PHP3 >= 3.0.9 , PHP4 >= 4.0RC1)
ImagePSBBox --- &">nbsp;使用PostScript Type1字体取得文字矩形的区块座标
语法 : array imagepsbbox (string text, int font, int size [, int space [, int tightness [, float angle]]])
说明 :
size表示(expressed)像素。
space允许你去改变字体中,间隔(space)的预设值,这个总合会和标准的值相加,而且也可以是负数。
tightness允许你去控制二字元间空白的总数,这个总合会和标准的值相加,而且也可以是负数。
angle是度数。
参数 space和tightness表示字元空白的单位,单位1是em-square的1/1000th。
参数 space、tightness和 angle都是非必需的。
传回的数组包含了下列的元素 :
0 左下角 x坐标 1 左下角 y坐标 2 右上角 x坐标 3 右上角 y坐标
参考 : imagepstext( )
时间: 2024-09-19 09:16:11