1
0
Fork 0
freesewing/packages/examples/src/path_move.js
2021-01-31 09:22:15 +01:00

13 lines
311 B
JavaScript

import { box } from './shared'
export default (part) => {
let { Point, points, Path, paths } = part.shorthand()
points.to = new Point(50, 10)
.attr('data-text', 'Path.move()')
.attr('data-text-class', 'fill-note center')
paths.noline = new Path().move(points.to)
return box(part, 100, 15)
}