Function __global->imagefontwidth

Definitions

sources_custom/phpstub.php

  • Get font width.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Returns: int

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$font integer No No required parameter N/A N/A Font code

Returns

  • Width
  • Type: integer
  • Set: N/A
  • Range: N/A

Preview

Code (PHP)

/**
 * Get font width.
 *
 * @param  integer $font Font code
 * @return integer Width
 */

function imagefontwidth(int $font) : int