MCPcopy
hub / github.com/processing/p5.js / _nextPrimitive

Method _nextPrimitive

src/shape/custom_shapes.js:133–137  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

131 }
132
133 get _nextPrimitive() {
134 return this._belongsToShape ?
135 this._shape.at(this._contoursIndex, this._primitivesIndex + 1) :
136 null;
137 }
138
139 get _belongsToShape() {
140 return this._shape !== null;

Callers

nothing calls this directly

Calls 1

atMethod · 0.80

Tested by

no test coverage detected