Method Image.Font()->text_extents()
- Method text_extents
array(int) text_extents(stringtext,string...more_text_lines)- Description
Calculate extents of a text-image, that would be created by calling write with the same arguments. One or more lines of text may be provided.
- Returns
Array intwidthintheight- See also