MCPcopy Create free account
hub / github.com/Code-Bullet/Jump-King / Path

Function Path

libraries/p5.js:2665–2670  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2663// A bézier path containing a set of path commands similar to a SVG path.
2664// Paths can be drawn on a context using `draw`.
2665function Path() {
2666 this.commands = [];
2667 this.fill = 'black';
2668 this.stroke = null;
2669 this.strokeWidth = 1;
2670}
2671
2672Path.prototype.moveTo = function(x, y) {
2673 this.commands.push({

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected