forked from classgraph/classgraph
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCircle.java
More file actions
43 lines (38 loc) · 766 Bytes
/
Circle.java
File metadata and controls
43 lines (38 loc) · 766 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
package com.xyz.fig.shape;
import java.awt.Graphics2D;
/**
* Circle.
*/
public class Circle extends ShapeImpl {
/** The r. */
private final float r;
/**
* Constructor.
*
* @param x
* the x
* @param y
* the y
* @param r
* the r
*/
public Circle(final float x, final float y, final float r) {
super(x, y);
this.r = r;
}
/**
* Get the r.
*
* @return the r
*/
public float getR() {
return r;
}
/* (non-Javadoc)
* @see com.xyz.fig.shape.ShapeImpl#draw(java.awt.Graphics2D)
*/
@Override
public void draw(final Graphics2D f) {
throw new RuntimeException("Not implemented");
}
}