跳转到内容

getLocalPoint

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

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

Defined in

src/controls/util.ts:132