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

Method updateShapeProperties

src/core/p5.Renderer.js:375–382  ·  view source on GitHub ↗
(modified)

Source from the content-addressed store, hash-verified

373 }
374
375 updateShapeProperties(modified) {
376 if (!modified || modified.bezierOrder || modified.splineProperties) {
377 const shape = this.currentShape;
378 shape.bezierOrder(this.states.bezierOrder);
379 shape.splineProperty('ends', this.states.splineProperties.ends);
380 shape.splineProperty('tightness', this.states.splineProperties.tightness);
381 }
382 }
383
384 updateShapeVertexProperties(modified) {
385 const props = this.getCommonVertexProperties();

Callers 3

popMethod · 0.95
bezierOrderMethod · 0.95
splinePropertyMethod · 0.95

Calls 2

bezierOrderMethod · 0.45
splinePropertyMethod · 0.45

Tested by

no test coverage detected