Forum und email

ImagickDraw::setViewbox

(No version information available, might be only in CVS)

ImagickDraw::setViewbox — Sets the overall canvas size

Descripción

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

Esta función no está documentada actualmente, solamente se encuentra disponible la lista de parámetros.

Warning

Esta función es EXPERIMENTAL. Esto significa que el comportamiento de esta función, el nombre de esta función y en definitiva TODO lo documentado sobre esta función, puede cambiar en una futura version de PHP SIN AVISO. La advertencia queda hecha, y utilizar esta extensión queda bajo su propia responsabilidad.

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.

Lista de parámetros

x1

left x coordinate

y1

left y coordinate

x2

right x coordinate

y2

right y coordinate

Valores retornados

No value is returned.