Forum und email

ImagickDraw::setViewbox

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

ImagickDraw::setViewbox — Sets the overall canvas size

Descrierea

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

Această funcţie nu este documentată în prezent; este disponibilă numai lista de argumente.

Avertizare

Această funcţie este EXPERIMENTALĂ. Comportamentul acestei funcţii, denumirea sa şi orice alte aspecte documentate în privinţa acestei funcţii pot să fie modificate fără preaviz într-o versiune viitoare a PHP. Utilizaţi această funcţie la propriul risc.

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.

Parametri

x1

left x coordinate

y1

left y coordinate

x2

right x coordinate

y2

right y coordinate

Valorile întroarse

Nu este întoarsă nici o valoare.