Method
quad
(float x1, float y1, float x2, float y2,
float x3, float y3, float x4, float y4)
Source from the content-addressed store, hash-verified
| 1215 | |
| 1216 | |
| 1217 | @Override |
| 1218 | public void quad(float x1, float y1, float x2, float y2, |
| 1219 | float x3, float y3, float x4, float y4) { |
| 1220 | GeneralPath gp = new GeneralPath(); |
| 1221 | gp.moveTo(x1, y1); |
| 1222 | gp.lineTo(x2, y2); |
| 1223 | gp.lineTo(x3, y3); |
| 1224 | gp.lineTo(x4, y4); |
| 1225 | gp.closePath(); |
| 1226 | drawShape(gp); |
| 1227 | } |
| 1228 | |
| 1229 | |
| 1230 | |
Tested by
no test coverage detected