ImagickDraw
PHP Manual

ImagickDraw::rectangle

(PECL imagick 2.0.0)

ImagickDraw::rectangleDraws a rectangle

Opis

bool ImagickDraw::rectangle ( float $x1 , float $y1 , float $x2 , float $y2 )
Ostrzeżenie

Ta funkcja jest obecnie nieudokumentowana, dostępna jest jedynie lista jej argumentów.

Draws a rectangle given two coordinates and using the current stroke, stroke width, and fill settings.

Parametry

x1

x coordinate of the top left corner

y1

y coordinate of the top left corner

x2

x coordinate of the bottom right corner

y2

y coordinate of the bottom right corner

Zwracane wartości

Nie jest zwracana żadna wartość.


ImagickDraw
PHP Manual