예제 #1
0
 public void setCenter(MyPoint center)
 {
     this.center = center;
 }
예제 #2
0
 public MyCircle(int x, int y, int radius)
 {
     center      = new MyPoint(x, y);
     this.radius = radius;
 }
예제 #3
0
 public MyCircle(MyPoint center, int radius)
 {
     this.center = center;
     this.radius = radius;
 }
예제 #4
0
 public MyCircle()
 {
     center = new MyPoint(0, 0);
     radius = 1;
 }