What is the purpose of the arcTo method?
A). To move the pen without drawing.
B). To draw a straight line.
C). To draw an arc between two points.
D). To draw a curve using control points.
What is the main purpose of the lineTo method?
A). To draw a curve between two points using control points.
B). To draw a straight line from the current point.
C). To move the pen without drawing anything.
D). To draw an arc between two points.
How does arcTo differ from lineTo?
A). arcTo draws a straight line, while lineTo draws an arc.
B). arcTo and lineTo are the same.
C). arcTo draws an arc, while lineTo draws a straight line.
D). None of the above.
What does the moveTo method do?
A). Moves the pen to a specified point without drawing anything.
B). Draws a straight line to a specified point from the current point.
C). Draws an arc between two points.
D). Draws a curve using a specified control point.
When using bezierCurveTo, how many control points are required?
A). One
B). Two
C). Three
D). Four
What is the purpose of the control points in bezierCurveTo?
A). To specify the start and end points of the curve.
B). To control the curvature of the curve.
C). To move the pen without drawing anything.
D). To draw a straight line.
What is the purpose of the lineTo method?
A). To move the pen without drawing.
B). To draw a straight line from the current point.
C). To draw an arc.
D). To draw a curve using control points.
How does the moveTo method differ from lineTo?
A). moveTo draws a straight line, while lineTo moves the pen without drawing.
B). moveTo moves the pen without drawing, while lineTo draws a straight line.
C). moveTo and lineTo are the same.
D). None of the above.
What does the bezierCurveTo method do?
A). Draws a circle.
B). Moves the pen to a specified point without drawing anything.
C). Draws a curve between two points using control points.
D). Draws a straight line to a specified point from the current point.
Which method is used to create curves in HTML canvas?
A). arcTo
B). moveTo
C). bezierCurveTo
D). lineTo