ImagickDraw::line
(No version information available, might be only in CVS)
ImagickDraw::line — Draws a line
Description
bool ImagickDraw::line
( float $sx
, float $sy
, float $ex
, float $ey
)
Warning
此函數目前沒有參考文件;只有引數列表。
Warning
這個函數是實驗性質的。這個函數的行為、名稱、和關於此函數的任何其他文件在未來PHP的發行中可能會在不通知的情況下改變。 使用此延伸需自行承擔風險。
Draws a line on the image using the current stroke color, stroke opacity, and stroke width.
Parameters
- sx
-
starting x coordinate
- sy
-
starting y coordinate
- ex
-
ending x coordinate
- ey
-
ending y coordinate
Return Values
No value is returned.