| Conditions | 1 |
| Total Lines | 11 |
| Code Lines | 11 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | package example.shapes; |
||
| 9 | @Override |
||
| 10 | protected void setup() { |
||
| 11 | super.setup(); |
||
| 12 | Path path = new Path(getDrawingPanel()); |
||
| 13 | path.moveTo(width, height); |
||
| 14 | path.lineTo(width, height * 2); |
||
| 15 | path.curveTo(width * 2, height * 2, width, height, width * 2, height); |
||
| 16 | path.quadTo(width, height * 2, width * 2, height * 2); |
||
| 17 | path.closePath(); |
||
| 18 | shape = path; |
||
| 19 | dTheta = Math.PI / 180.0; |
||
| 20 | } |
||
| 32 |