Welcome to the CSC Q&A, on our server named in honor of Ada Lovelace. Write great code! Get help and give help!
It is our choices... that show what we truly are, far more than our abilities.

Categories

+19 votes
asked in CSC211_Winter2018 by (1 point)

4 Answers

+14 votes

You can draw any polygon with:

g.drawPolygon(int[] xPoints, int[] yPoints, int numPoints)

If you just type "g.draw" on eclipse it will show you plenty of options.

answered by (1 point)
+12 votes

You can create more complex shapes by using a combination of multiple shapes.

answered by (3.5k points)
+9 votes

g.fillArc(x, y, dotSize, dotSize, 5, 150);

answered by (1 point)
+7 votes

Don't also forget that the instruction says you can create wavy pictures.

answered by (1 point)
...