ImagickDraw::roundRectangle()
ImagickDraw::roundRectangle - Draws a rounded rectangle
Syntax
bool ImagickDraw::roundRectangle (
float $x1,
float $y1,
float $x2,
float $y2,
float $rx,
float $ry)
Arguments
- x1 - x coordinate of the top left corner
- y1 - y coordinate of the top left corner
- x2 - x coordinate of the bottom right
- y2 - y coordinate of the bottom right
- rx - x rounding
- ry - y rounding
Description
Draws a rounded rectangle given two coordinates, x & y corner radiuses and using the current stroke, stroke width, and fill settings.
Version
PHP PECL imagick 2.0.0
Return value
No value is returned.