array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'de', ), 'this' => array ( 0 => 'imagickdraw.getgravity.php', 1 => 'ImagickDraw::getGravity', 2 => 'Returns the text placement gravity', ), 'up' => array ( 0 => 'class.imagickdraw.php', 1 => 'ImagickDraw', ), 'prev' => array ( 0 => 'imagickdraw.getfontweight.php', 1 => 'ImagickDraw::getFontWeight', ), 'next' => array ( 0 => 'imagickdraw.getstrokeantialias.php', 1 => 'ImagickDraw::getStrokeAntialias', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/imagick/imagickdraw/getgravity.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>

ImagickDraw::getGravity

(PECL imagick 2, PECL imagick 3)

ImagickDraw::getGravityReturns the text placement gravity

Beschreibung

public ImagickDraw::getGravity(): int
Warnung

Diese Funktion ist bis jetzt nicht dokumentiert. Es steht nur die Liste der Parameter zur Verfügung.

Returns the text placement gravity used when annotating with text.

Rückgabewerte

Returns a GRAVITY constant (imagick::GRAVITY_*) on success and 0 if no gravity is set.