Rac. Bezier

Bezier curve with start, end, and two anchor points.

Constructor

new Bezier()

Methods

equals(otherBezier) → {boolean}

Returns true when all members of both beziers are considered equal.

When otherBezier is any class other that Rac.Bezier, returns false.

See:
Parameters:
Name Type Description
otherBezier Rac.Bezier

A Bezier to compare

toString(digitsopt) → {string}

Returns a string representation intended for human consumption.

Parameters:
Name Type Attributes Default Description
digits number <optional>
null

The number of digits to print after the decimal point, when ommited all digits are printed