operator == method
Test if the given curve is exactly the same as this one. @param {goog.math.Bezier} other The other curve. @return {boolean} Whether the given curve is the same as this one.
Implementation
@override
bool operator ==(Object other)
{
if (other is Bezier) {
return this.x0 == other.x0 && this.y0 == other.y0 && this.x1 == other.x1 &&
this.y1 == other.y1 && this.x2 == other.x2 && this.y2 == other.y2 &&
this.x3 == other.x3 && this.y3 == other.y3;
}
else {
return false;
}
}