HaruPage::lineTo
(PECL haru >= 0.0.1)
HaruPage::lineTo — Draw a line from the current point to the specified point
说明
HaruPage::lineTo (
float
$x
,
float $y
) :
bool
Draws a line from the current point to the specified point.
参数
-
x
-
-
y
-
返回值
Returns TRUE
on success.
错误/异常
发生错误时抛出 HaruException 异常。
参见
- HaruPage::curveTo() - Append a Bezier curve to the current path
- HaruPage::curveTo2() - Append a Bezier curve to the current path
- HaruPage::curveTo3() - Append a Bezier curve to the current path