Skip to content

Outline._normalizePoint method

Outline › _normalizePoint

Unofficial

Normalize a point relative to a parent element with the given dimensions and rotation.

Signature:

_normalizePoint(x: unknown, y: unknown, parentWidth: unknown, parentHeight: unknown, rotation: unknown): number[]

Parameters:

Parameter Type Description
x unknown
y unknown
parentWidth unknown
parentHeight unknown
rotation unknown

Returns: number[]The normalized point coordinates.