Skip to content

add

add(pA, pB): Point

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

Parameters

pA: IPoint

pB: IPoint

Returns

Point

Point

Source

src/utils/PointUtils.ts:10