GoLang Gmagick::annotateimage

request it (283)
GoLang replacement for PHP's Gmagick::annotateimage [edit | history]



Do you know a GoLang replacement for PHP's Gmagick::annotateimage? Write it!

PHP Gmagick::annotateimage

PHP original manual for Gmagick::annotateimage [ show | php.net ]

Gmagick::annotateimage

(PECL gmagick >= Unknown)

Gmagick::annotateimageAnnotates an image with text

Description

public Gmagick Gmagick::annotateimage ( GmagickDraw $GmagickDraw , float $x , float $y , float $angle , string $text )

Annotates an image with text.

Parameters

GmagickDraw

The GmagickDraw object that contains settings for drawing the text

x

Horizontal offset in pixels to the left of text

y

Vertical offset in pixels to the baseline of text

angle

The angle at which to write the text

text

The string to draw

Return Values

The Gmagick object with annotation made.

Errors/Exceptions

Throws an GmagickException on error.