paper.js/test/tests_Path.js

9 lines
No EOL
194 B
JavaScript

module('Path');
test('path.currentSegment', function() {
var path = new Path();
path.moveTo([50, 50]);
path.lineTo([100, 100]);
compareSegments(path.segments[1], path.currentSegment);
});