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

Method beginShape

src/shape/custom_shapes.js:1075–1079  ·  view source on GitHub ↗
(shapeKind = constants.PATH)

Source from the content-addressed store, hash-verified

1073 }
1074
1075 beginShape(shapeKind = constants.PATH) {
1076 this.kind = shapeKind;
1077 // Implicitly start a contour
1078 this.beginContour(shapeKind);
1079 }
1080 /* TO-DO:
1081 Refactor?
1082 - Might not need anchorHasPosition.

Callers 4

arcMethod · 0.95
ellipseMethod · 0.95
arcPrimitiveMethod · 0.95
vertexFunction · 0.45

Calls 1

beginContourMethod · 0.95

Tested by

no test coverage detected