MCPcopy Index your code
hub / github.com/processing/processing / draw

Method draw

core/src/processing/core/PShape.java:1594–1600  ·  view source on GitHub ↗

Called by the following (the shape() command adds the g) PShape s = loadShape("blah.svg"); shape(s);

(PGraphics g)

Source from the content-addressed store, hash-verified

1592 * shape(s);
1593 */
1594 public void draw(PGraphics g) {
1595 if (visible) {
1596 pre(g);
1597 drawImpl(g);
1598 post(g);
1599 }
1600 }
1601
1602
1603 /**

Callers 5

shapeMethod · 0.45
drawStringMethod · 0.45
drawGroupMethod · 0.45
strokeShapeMethod · 0.45
drawShapeMethod · 0.45

Calls 3

preMethod · 0.95
drawImplMethod · 0.95
postMethod · 0.95

Tested by

no test coverage detected