array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'zh', ), 'this' => array ( 0 => 'gmagickdraw.roundrectangle.php', 1 => 'GmagickDraw::roundrectangle', ), 'up' => array ( 0 => 'class.gmagickdraw.php', 1 => 'GmagickDraw', ), 'prev' => array ( 0 => 'gmagickdraw.rotate.php', 1 => 'GmagickDraw::rotate', ), 'next' => array ( 0 => 'gmagickdraw.scale.php', 1 => 'GmagickDraw::scale', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/gmagick/gmagickdraw/roundrectangle.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(PECL gmagick >= Unknown)
GmagickDraw::roundrectangle — Draws a rounded rectangle
$x1
,$y1
,$x2
,$y2
,$rx
,$ry
Draws a rounded rectangle given two coordinates, x and y corner radiuses 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
rx
radius of corner in horizontal direction
ry
radius of corner in vertical direction
The GmagickDraw object.