How does bezierCurveTo differ from arcTo?
A). bezierCurveTo draws a straight line, while arcTo draws a curve.
B). bezierCurveTo and arcTo are the same.
C). bezierCurveTo draws a curve using control points, while arcTo draws an arc.
D). None of the above.
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.
When using moveTo, what happens if you specify the same point multiple times?
A). The pen moves to the specified point each time it's called.
B). The pen moves to the specified point only once.
C). An error occurs.
D). None of the above.
Which method is used to draw a straight line from the current point?
A). moveTo
B). lineTo
C). arcTo
D). bezierCurveTo
When using arcTo, what parameters are required?
A). The starting point and the angle of the arc.
B). The starting point, the control point, and the ending point.
C). The starting point, the radius, and the end point.
D). The starting point, the ending point, and the radius.
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.
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.
What is the purpose of the moveTo method in a path?
A). To draw a straight line.
B). To draw an arc.
C). To move the pen without drawing.
D). To start a new sub-path.
What happens if you use moveTo without subsequent drawing commands?
A). An error occurs.
B). Nothing visible happens.
C). A straight line is drawn.
D). A circle is drawn.