clone
function clone(ps: number[][]): number[][]
Defined in transformation/clone.ts:10
Returns a clone of the given cubic bezier (with a different reference).
Parameters:
Name | Type | Description |
---|---|---|
ps | number[][] | a bezier curve given as an ordered array of its control point coordinates, e.g. [[0,0], [1,1], [2,1], [2,0]] |