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
originX
TOriginX
originY
TOriginY
x
number
y
number
Returns
Point
the normalized point