Skip to content

add

add(a, b): Point

Defined in: utils/point.ts:11

Add the x and the y values of two Points together and return a new point.

Parameters

a

PointLike

b

PointLike

Returns

Point

Point

Aram

a

Aram

b