array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'de', ), 'this' => array ( 0 => 'gmagickdraw.rectangle.php', 1 => 'GmagickDraw::rectangle', ), 'up' => array ( 0 => 'class.gmagickdraw.php', 1 => 'GmagickDraw', ), 'prev' => array ( 0 => 'gmagickdraw.polyline.php', 1 => 'GmagickDraw::polyline', ), 'next' => array ( 0 => 'gmagickdraw.rotate.php', 1 => 'GmagickDraw::rotate', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/gmagick/gmagickdraw/rectangle.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(PECL gmagick >= Unknown)
GmagickDraw::rectangle — Draws a rectangle
Draws a rectangle given two coordinates and using the current stroke, stroke width, and fill settings.
x1
x ordinate of first coordinate
y1
y ordinate of first coordinate
x2
x ordinate of second coordinate
y2
y ordinate of second coordinate
The GmagickDraw object.