PHP - Manual: GmagickDraw::roundrectangle
2024-11-13
(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.
官方地址:https://www.php.net/manual/en/gmagickdraw.roundrectangle.php