|
imagettfbbox(PHP 4, PHP 5) imagettfbbox — Give the bounding box of a text using TrueType fonts Описание
array imagettfbbox
( float $size
, float $angle
, string $fontfile
, string $text
)
This function calculates and returns the bounding box in pixels for a TrueType text. Список параметров
Возвращаемые значенияimagettfbbox() returns an array with 8 elements representing four points making the bounding box of the text on success and FALSE on error.
The points are relative to the text regardless of the angle, so "upper left" means in the top left-hand corner seeing the text horizontally. Примеры
Пример #1 imagettfbbox() example
<?php Примечания
|
|||||||||||||||||||