13.4k views
2 votes
If you are using the drawArc command, and the 3rd & 4th parameters are not equal, and the last parameter is 360, what will you draw?

a. There is no way to tell without knowing more information on the their parameters.
b. a circle
c. an oval
d. an incomplete oval (essentially an "arc")
e. a semi-circle

User Nycynik
by
7.2k points

1 Answer

0 votes

Final answer:

When using the drawArc command, if the width and height parameters are unequal and the sweep angle is 360 degrees, an oval is drawn.

Step-by-step explanation:

If you are using the drawArc command in a graphical context and the third and fourth parameters (which are generally the width and height of the bounding rectangle for the arc) are not equal, and the last parameter is 360, you will draw an oval. The reason is that a full 360-degree sweep of an arc results in the creation of a complete shape. If the bounding rectangle is not a square (meaning width and height are not equal), the resulting shape is an oval instead of a circle. A circle would only be drawn if the width and height are equal.

User Shameeka
by
7.1k points