Image_Graph::setDefaultFontOptions()

Image_Graph::setDefaultFontOptions() -- Set default options for fonts

Synopsis

require_once '/Graph.php';

void Image_Graph::setDefaultFontOptions ([array $options = array()])

Description

These options are directly given to the class Image_Text which handles text-output. For a full list of necessary/available font-options please refer to the Image_Text-docs and/or have a look at the examples shipped with the Image_Graph-package. !! Note that the option "font_type" defaults to "ttf" (TrueType-fonts) at the moment. As soon as PHP-internal (bitmap) fonts are also supported by Image_Text this will default to those internal fonts instead. !!

Parameter

array $options

stores information like font_type, font_path, font_file, font_size, antialiasing etc.

Throws

throws no exceptions thrown

Note

This function can not be called statically.