Last 5.3 release ever available: PHP 5.3.29 - 5.3 now EOL


(PECL imagick 2.0.0)

ImagickDraw::setViewboxSets the overall canvas size


bool ImagickDraw::setViewbox ( int $x1 , int $y1 , int $x2 , int $y2 )

Questa funzione, al momento non è documentata; è disponibile soltanto la lista degli argomenti.

Sets the overall canvas size to be recorded with the drawing vector data. Usually this will be specified using the same size as the canvas image. When the vector data is saved to SVG or MVG formats, the viewbox is use to specify the size of the canvas image that a viewer will render the vector data on.

Elenco dei parametri


left x coordinate


left y coordinate


right x coordinate


right y coordinate

Valori restituiti

Nessun valore viene restituito.

add a note add a note

User Contributed Notes

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