|
imagettfbboxGive the bounding box of a text using TrueType fonts Description
arrayfalse imagettfbbox(
float $size ,float $angle ,string $font_filename ,string $string ,array $options = []) This function calculates and returns the bounding box in pixels for a TrueType text.
Parameters
Return Values
imagettfbbox returns an array with 8
elements representing four points making the bounding box of the
text on success and
The points are relative to the text regardless of the
Changelog
Examples
Example #1 imagettfbbox example
Notes
See Also
|