Graphics function Library: Imagepsbbox

Source: Internet
Author: User
Keywords imagepsbbox php Chinese function manual graphics function library
Tags aliyun array block function function library get graphics graphics function library

Imagepsbbox

(PHP3 >= 3.0.9, PHP4 >= 4.0rc1)

Imagepsbbox---&http://www.aliyun.com/zixun/aggregation/37954.html ">NBSP; block coordinates with PostScript Type1 font for text rectangles

Syntax: Array imagepsbbox (string text, int font, int size [, int space [, int tightness [, float angle]]]

Description:

Size represents (expressed) pixels.

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.

The parameter space and tightness represent the blank unit of the character, Unit 1 is the 1/1000th of the Em-square.

Parameter space, tightness, and angle 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: Imagepstext ()

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.