(Graphics g)
| 37 | } |
| 38 | |
| 39 | @Override |
| 40 | public void draw(Graphics g) { |
| 41 | super.draw(g); |
| 42 | |
| 43 | float divotWidth = DIVOT_WIDTH; |
| 44 | float divotHeight = divotWidth * 2f; |
| 45 | float x2 = getWidth() - GAP_X - 1; |
| 46 | float x1 = x2 - divotWidth; |
| 47 | float x3 = x1; |
| 48 | float y2 = getHeight() / 2; |
| 49 | float y1 = y2 - divotHeight / 2; |
| 50 | float y3 = y2 + divotHeight / 2; |
| 51 | g.fillTriangle(getForeColor(), x1, y1, x2, y2, x3, y3); |
| 52 | } |
| 53 | } |
nothing calls this directly
no test coverage detected