(PECL haru >= 0.0.1)
HaruPage::lineTo — Draw a line from the current point to the specified point
$x
, float $y
) : boolDraws a line from the current point to the specified point.
x
y
Returns TRUE
on success.
发生错误时抛出 HaruException 异常。