(PECL imagick 2.0.0)
Draws a rectangle
bool ImagickDraw::rectangle ( float $x1, float $y1, float $x2, float $y2 )
Draws a rectangle given two coordinates and using the current stroke, stroke width, and fill settings.
Parameters:
x1
x coordinate of the top left corner
y1
y coordinate of the top left corner
x2