Subtracts both start and end points by given x,y
import { Lines } from 'https://unpkg.com/ixfx/dist/geometry.js'// Line 1,1 -> 10,10const l = Lines.fromNumbers(1,1,10,10);const ll = Lines.subtract(l, {x:2, y:4});// Yields: -1,-3 -> 8,6 Copy
import { Lines } from 'https://unpkg.com/ixfx/dist/geometry.js'// Line 1,1 -> 10,10const l = Lines.fromNumbers(1,1,10,10);const ll = Lines.subtract(l, {x:2, y:4});// Yields: -1,-3 -> 8,6
Subtracts both start and end points by given x,y