source: src/main/java/negotiator/onetomany/etc/Circle.java@ 217

Last change on this file since 217 was 212, checked in by Faria Nassiri Mofakham, 6 years ago
File size: 447 bytes
Line 
1/**
2 *
3 */
4package negotiator.onetomany.etc;
5
6import java.awt.Color;
7import java.awt.Graphics;
8import java.awt.Point;
9
10/**
11 * @author Faria Nassiri-Mofakham
12 *
13 */
14public class Circle extends Shape
15{
16 public Circle(Point loc, int rad, Color color)
17 {
18 super(loc, rad, color);
19 }
20
21 @Override
22 public void paint(Graphics g, Color c)
23 {
24 g.fillOval(getLocation().x, getLocation().y, getDimension(),getDimension());
25 }
26}
Note: See TracBrowser for help on using the repository browser.