Home > PHP > Function > > ImagickDraw::setFont()

ImagickDraw::setFont()

ImagickDraw::setFont - Sets the fully-specified font to use when annotating with text

Syntax

bool ImagickDraw::setFont (string $font_name)

Arguments

  • font_name

Description

Sets the fully-specified font to use when annotating with text.

Version

PHP PECL imagick 2.0.0

Return value

Returns TRUE on success.