HaruPage::lineTo
(PECL haru >= 0.0.1)
HaruPage::lineTo — Draw a line from the current point to the specified point
Descrição
bool HaruPage::lineTo
( float
$x
, float $y
)Draws a line from the current point to the specified point.
Parâmetros
-
x -
-
y -
Valor Retornado
Returns TRUE on success.
Erros
Joga um HaruException em erro.
Veja Também
- 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