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

Method parseChildren

core/src/processing/core/PShapeSVG.java:288–298  ·  view source on GitHub ↗
(XML graphics)

Source from the content-addressed store, hash-verified

286
287
288 protected void parseChildren(XML graphics) {
289 XML[] elements = graphics.getChildren();
290 children = new PShape[elements.length];
291 childCount = 0;
292
293 for (XML elem : elements) {
294 PShape kid = parseChild(elem);
295 if (kid != null) addChild(kid);
296 }
297 children = (PShape[]) PApplet.subset(children, 0, childCount);
298 }
299
300
301 /**

Callers 1

PShapeSVGMethod · 0.95

Calls 4

parseChildMethod · 0.95
subsetMethod · 0.95
getChildrenMethod · 0.45
addChildMethod · 0.45

Tested by

no test coverage detected