php / 8.1.5 / imagickdraw.gettextdecoration.html /

ImagickDraw::getTextDecoration

(PECL imagick 2, PECL imagick 3)

ImagickDraw::getTextDecorationReturns the text decoration

Description

public ImagickDraw::getTextDecoration(): int
Warning

This function is currently not documented; only its argument list is available.

Returns the decoration applied when annotating with text.

Return Values

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

© 1997–2021 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/imagickdraw.gettextdecoration.php