| Previous | Next
Getting the Size of a CharacterThe ($x, $y, $w, $h) = $text->bbox( The first two items returned are the x and y coordinates of the upper-left corner. The last two are the width and height of the box. The bounding box describes only the visible portion of the character, so if it is half hidden or not visible at all, the values returned will reflect this. |