PHP 8.5.2 Released!

Gmagick::annotateimage

(PECL gmagick >= Unknown)

Gmagick::annotateimage画像にテキストによる注記を加える

説明

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

テキストによる注記を画像に加えます。

パラメータ

GmagickDraw
テキスト描画設定を含む GmagickDraw オブジェクト。
x
テキストの左端の水平オフセットをあらわすピクセル数。
y
テキストのベースラインの垂直オフセットをあらわすピクセル数。
angle
テキストを書き出す角度。
text
描画するテキスト。

戻り値

Gmagick オブジェクトに注記を加えて返します。

エラー / 例外

エラー時に GmagickException をスローします。

add a note

User Contributed Notes

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