Capítulo 273 de 411
Converts a point from one element's local coordinate space into another element's local coordinate space, correctly accounting for any number of nested transforms on either element.
| Parameter | Type | Description |
|---|---|---|
| fromElement | Element | window | source coordinate space |
| toElement | Element | window | target coordinate space |
| point | Object (optional) | {x, y} in fromElement's space |
Returns: the converted point (or a Matrix2D if no point is supplied).