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

Method getChild

core/src/processing/core/PShape.java:1993–1996  ·  view source on GitHub ↗

( begin auto-generated from PShape_getChild.xml ) Extracts a child shape from a parent shape. Specify the name of the shape with the target parameter. The shape is returned as a PShape object, or null is returned if there is an error. ( end auto-generated ) @webref pshape:meth

(int index)

Source from the content-addressed store, hash-verified

1991 * @see PShape#addChild(PShape)
1992 */
1993 public PShape getChild(int index) {
1994 crop();
1995 return children[index];
1996 }
1997
1998 /**
1999 * @param target the name of the shape to get

Callers 1

findChildMethod · 0.95

Calls 3

cropMethod · 0.95
getMethod · 0.65
equalsMethod · 0.45

Tested by

no test coverage detected