Imagick::setFont()
Imagick::setFont - Sets font
Syntax
bool Imagick::setFont (
string $font)
Arguments
- font - Font name or a filename
Description
Sets object's font property. This method can be used for example to set font for caption: pseudo-format. The font needs to be configured in ImageMagick confiration or a file by the name of font must exist. This method should not be confused with ImagickDraw::setFont() which sets the font for a specific ImagickDraw object. This method is available if Imagick has been compiled against ImageMagick version 6.3.7 or newer.
Version
PHP PECL imagick 2.1.0
Return value
Returns TRUE on success.