Skip to content

subtract

subtract(pA, pB): Point

Subtract the x and the y values of point B from Point A and return a new point.

Parameters

pA: IPoint

pB: IPoint

Returns

Point

Source

src/utils/PointUtils.ts:29