MCPcopy Index your code
hub / github.com/classgraph/classgraph / ShapeImpl

Class ShapeImpl

src/test/java/com/xyz/fig/shape/ShapeImpl.java:8–52  ·  view source on GitHub ↗

ShapeImpl.

Source from the content-addressed store, hash-verified

6 * ShapeImpl.
7 */
8public 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}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…