Skip to content

getLocalPoint

getLocalPoint(transform, originX, originY, x, y): Point

Defined in: src/controls/util.ts:132

Transforms a point to the offset from the given origin

Parameters

transform

Transform

originX

TOriginX

originY

TOriginY

x

number

y

number

Returns

Point

the normalized point