(PGraphics g)
| 1444 | |
| 1445 | |
| 1446 | protected void styles(PGraphics g) { |
| 1447 | // should not be necessary because using only the int version of color |
| 1448 | //parent.colorMode(PConstants.RGB, 255); |
| 1449 | |
| 1450 | if (stroke) { |
| 1451 | g.stroke(strokeColor); |
| 1452 | g.strokeWeight(strokeWeight); |
| 1453 | g.strokeCap(strokeCap); |
| 1454 | g.strokeJoin(strokeJoin); |
| 1455 | } else { |
| 1456 | g.noStroke(); |
| 1457 | } |
| 1458 | |
| 1459 | if (fill) { |
| 1460 | //System.out.println("filling " + PApplet.hex(fillColor)); |
| 1461 | g.fill(fillColor); |
| 1462 | } else { |
| 1463 | g.noFill(); |
| 1464 | } |
| 1465 | } |
| 1466 | |
| 1467 | |
| 1468 | protected void post(PGraphics g) { |
no test coverage detected