- Author: Graham Mitchell
- Filename: GraphicsDemo2.java
Graphics Demo 2: Arcs and Custom Colors
Here are some more examples of the various functions at your disposal
in Java's graphics library. Download the following code and get it to
compile.
Files Needed
Study Drills
- Using my Custom Colors Explorer,
make a color of your own and change the middle circle (the yellow one) to your custom color.
- Draw a second, slightly smaller pacman to the right of the
first pacman. Make her face to the left and make her pink. If you're having trouble with this,
try Mr. Mitchell's handy-dandy fillArc() visualizer.
©2013–2015 Graham Mitchell
This assignment is licensed under a
Creative Commons Attribution-NonCommercial-ShareAlike 3.0 United States License.