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:

ParameterTypeDescription
xunknown
yunknown
parentWidthunknown
parentHeightunknown
rotationunknown

Returns: number[]The normalized point coordinates.