Home > PHP > Function > > ImagickDraw::setVectorGraphics()

ImagickDraw::setVectorGraphics()

ImagickDraw::setVectorGraphics - Sets the vector graphics

Syntax

bool ImagickDraw::setVectorGraphics (string $xml)

Arguments

  • xml - xml containing the vector graphics

Description

Sets the vector graphics associated with the specified ImagickDraw object. Use this method with ImagickDraw::getVectorGraphics() as a method to persist the vector graphics state.

Version

PHP PECL imagick 2.0.0

Return value

Returns TRUE on success or FALSE on failure.