paper.js/test/tests/Path.js

10 lines
No EOL
216 B
JavaScript

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