()
| 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`. |
| 2665 | function Path() { |
| 2666 | this.commands = []; |
| 2667 | this.fill = 'black'; |
| 2668 | this.stroke = null; |
| 2669 | this.strokeWidth = 1; |
| 2670 | } |
| 2671 | |
| 2672 | Path.prototype.moveTo = function(x, y) { |
| 2673 | this.commands.push({ |
nothing calls this directly
no outgoing calls
no test coverage detected