php8.5
Home/ Manual/ imagick / imagickdraw/ ImagickDraw::getTextDecoration

ImagickDraw::getTextDecoration

PHP function Edit on GitHub ✎

(PECL imagick 2, PECL imagick 3)

Returns the text decoration

Description

ImagickDraw::getTextDecoration(): int

Func

Returns the decoration applied when annotating with text.

Return Values

Returns a DECORATION constant (imagick::DECORATION_*), and 0 if no decoration is set.

Source: reference/imagick/imagickdraw/gettextdecoration.xml · from the official PHP manual (php/doc-en)