1.

Which of the following methods adds and connects the point to the cubic bezier curve?(a) bezierConnect()(b) bezierCurveTo()(c) Connectbezier()(d) bezierTo()I had been asked this question in homework.I need to ask this question from JavaScript with WebPageTest in division Performance Measures in JavaScript of JavaScript

Answer»

Correct option is (B) bezierCurveTo()

The explanation: A CUBIC bezier curve requires three points. The first two points are control points that are used in the cubic Bézier calculation and the last point is the ENDING point for the curve. This METHOD adds a NEW point P to the subpath and connects it to the current point with a cubic Bezier curve.



Discussion

No Comment Found

Related InterviewSolutions