g.bezier.curveThroughPoints(points)

Deprecated. Use the g.Curve.throughPoints function instead.

Return the SVG path that defines a cubic bezier curve passing through points.

This method automatically computes the cubic bezier control points necessary to create a smooth curve with points as intermediary endpoints.