Skip to content

subtract

subtract(a, b): Point

Defined in: utils/point.ts:30

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

Parameters

a

PointLike

b

PointLike

Returns

Point

Aram

a

Aram

b