ImagickDraw::rectangle
(No version information available, might be only in CVS)
ImagickDraw::rectangle — Draws a rectangle
说明
bool ImagickDraw::rectangle
( float $x1
, float $y1
, float $x2
, float $y2
)
Warning
本函数暂无文档,仅有参数列表。
Warning
本函数是实验性的。本函数的行为,包括函数名称以及其它任何关于本函数的文档可能会在没有通知的情况下随 PHP 以后的发布而改变。使用本函数风险自担。
Draws a rectangle given two coordinates and using the current stroke, stroke width, and fill settings.
参数
- x1
-
x coordinate of the top left corner
- y1
-
y coordinate of the top left corner
- x2
-
x coordinate of the bottom right corner
- y2
-
y coordinate of the bottom right corner
返回值
无返回值。