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

Transform

TOriginX

TOriginY

number

number

Point

the normalized point