ShapeImpl.
| 6 | * ShapeImpl. |
| 7 | */ |
| 8 | public abstract class ShapeImpl implements Shape { |
| 9 | |
| 10 | /** The x. */ |
| 11 | private final float x; |
| 12 | |
| 13 | /** The y. */ |
| 14 | private final float y; |
| 15 | |
| 16 | /** |
| 17 | * Constructor. |
| 18 | * |
| 19 | * @param x |
| 20 | * the x |
| 21 | * @param y |
| 22 | * the y |
| 23 | */ |
| 24 | public ShapeImpl(final float x, final float y) { |
| 25 | this.x = x; |
| 26 | this.y = y; |
| 27 | } |
| 28 | |
| 29 | /** |
| 30 | * Get the x. |
| 31 | * |
| 32 | * @return the x |
| 33 | */ |
| 34 | public float getX() { |
| 35 | return x; |
| 36 | } |
| 37 | |
| 38 | /** |
| 39 | * Get the y. |
| 40 | * |
| 41 | * @return the y |
| 42 | */ |
| 43 | public float getY() { |
| 44 | return y; |
| 45 | } |
| 46 | |
| 47 | /* (non-Javadoc) |
| 48 | * @see com.xyz.fig.Drawable#draw(java.awt.Graphics2D) |
| 49 | */ |
| 50 | @Override |
| 51 | public abstract void draw(Graphics2D f); |
| 52 | } |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…