ImagickDraw::rectangle
(No version information available, might be only in CVS)
ImagickDraw::rectangle — Draws a rectangle
Description
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.
Parameters
- 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
Return Values
No value is returned.