Gmagick::annotateimage

(PECL gmagick >= Unknown)

Gmagick::annotateimageAnnotates an image with text

Açıklama

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

Annotates an image with text.

Bağımsız Değişkenler

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.

Dönen Değerler

The Gmagick object with annotation made.

Hatalar/İstisnalar

Hata durumunda bir GmagickException istisnası oluşur.

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top