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

Class Diamond

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

Diamond.

Source from the content-addressed store, hash-verified

6 * Diamond.
7 */
8public class Diamond extends ShapeImpl {
9 /** The w. */
10 private final float w;
11
12 /** The h. */
13 private final float h;
14
15 /**
16 * Constructor.
17 *
18 * @param x
19 * the x
20 * @param y
21 * the y
22 * @param w
23 * the w
24 * @param h
25 * the h
26 */
27 public Diamond(final float x, final float y, final float w, final float h) {
28 super(x, y);
29 this.w = w;
30 this.h = h;
31 }
32
33 /**
34 * Get the w.
35 *
36 * @return the w
37 */
38 public float getW() {
39 return w;
40 }
41
42 /**
43 * Get the h.
44 *
45 * @return the h
46 */
47 public float getH() {
48 return h;
49 }
50
51 /* (non-Javadoc)
52 * @see com.xyz.fig.shape.ShapeImpl#draw(java.awt.Graphics2D)
53 */
54 @Override
55 public void draw(final Graphics2D f) {
56 throw new RuntimeException("Not implemented");
57 }
58}

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…