MCPcopy Create free account
hub / github.com/classgraph/classgraph / Square

Class Square

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

Square.

Source from the content-addressed store, hash-verified

6 * Square.
7 */
8public class Square extends ShapeImpl {
9 /** The size. */
10 private final float size;
11
12 /**
13 * Constructor.
14 *
15 * @param x
16 * the x
17 * @param y
18 * the y
19 * @param size
20 * the size
21 */
22 public Square(final float x, final float y, final float size) {
23 super(x, y);
24 this.size = size;
25 }
26
27 /**
28 * Get the size.
29 *
30 * @return the size
31 */
32 public float getSize() {
33 return size;
34 }
35
36 /* (non-Javadoc)
37 * @see com.xyz.fig.shape.ShapeImpl#draw(java.awt.Graphics2D)
38 */
39 @Override
40 public void draw(final Graphics2D f) {
41 throw new RuntimeException("Not implemented");
42 }
43}

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…