MCPcopy Index your code
hub / github.com/processing/p5.js / beginShape

Method beginShape

src/core/p5.Renderer.js:207–211  ·  view source on GitHub ↗
(...args)

Source from the content-addressed store, hash-verified

205 }
206
207 beginShape(...args) {
208 this.currentShape.reset();
209 this.updateShapeVertexProperties();
210 this.currentShape.beginShape(...args);
211 }
212
213 endShape(...args) {
214 this.currentShape.endShape(...args);

Callers 15

drawCircleFunction · 0.45
p5.Geometry.jsFile · 0.45
drawShapeFunction · 0.45
getColorsFunction · 0.45
p5.RendererGL.jsFile · 0.45
drawSameShapeFunction · 0.45
typography.jsFile · 0.45
setupSketchFunction · 0.45
webgpu.jsFile · 0.45
shapes.jsFile · 0.45
setupSketchFunction · 0.45
webgl.jsFile · 0.45

Calls 2

resetMethod · 0.45

Tested by

no test coverage detected