GoLang HaruPage::curveTo3

request it (396)
GoLang replacement for PHP's HaruPage::curveTo3 [edit | history]



Do you know a GoLang replacement for PHP's HaruPage::curveTo3? Write it!

PHP HaruPage::curveTo3

PHP original manual for HaruPage::curveTo3 [ show | php.net ]

HaruPage::curveTo3

(PECL haru >= 0.0.1)

HaruPage::curveTo3Append a Bezier curve to the current path

Description

bool HaruPage::curveTo3 ( float $x1 , float $y1 , float $x3 , float $y3 )

Appends a Bezier curve to the current path. The point (x1, y1) and the point (x3, y3) are used as the control points for a Bezier curve and current point is moved to the point (x3, y3).

Parameters

x1

A Bezier curve control point.

y1

A Bezier curve control point.

x3

The current point moves here.

x3

The current point moves here.

Return Values

Returns TRUE on success.

Errors/Exceptions

Throws a HaruException on error.