import java.awt.Color; 
import java.awt.Graphics; 

class Circle extends Shape {
  int radius; 
  Color color; 
  Circle(Point center, int radius, Color color) {
    super(center); 
    this.radius = radius;
    this.color = color; 
  }
  double area() {
    return Math.PI * this.radius * this.radius;  
  }
  public String toString() {
    return "Circle @" + this.center + " with radius " + this.radius;  
  }
  void draw(Graphics g) {
    System.out.println( this ); 
    g.setColor( this.color );  
    g.fillOval(this.center.x - this.radius, 
               this.center.y - this.radius, 
               this.radius * 2, 
               this.radius * 2); 
    g.setColor( Color.BLACK );  
    g.drawOval(this.center.x - this.radius, 
               this.center.y - this.radius, 
               this.radius * 2, 
               this.radius * 2); 
  }
}