MCPcopy Index your code
hub / github.com/benfry/processing4 / fillShape

Method fillShape

core/src/processing/awt/PGraphicsJava2D.java:1323–1331  ·  view source on GitHub ↗
(Shape s)

Source from the content-addressed store, hash-verified

1321
1322
1323 protected void fillShape(Shape s) {
1324 if (fillGradient) {
1325 g2.setPaint(fillGradientObject);
1326 g2.fill(s);
1327 } else if (fill) {
1328 g2.setColor(fillColorObject);
1329 g2.fill(s);
1330 }
1331 }
1332
1333
1334 protected void strokeShape(Shape s) {

Callers 1

arcImplMethod · 0.95

Calls 2

fillMethod · 0.45
setColorMethod · 0.45

Tested by

no test coverage detected