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

ImagickDraw::rectangleDraws a rectangle

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