Capítulo 276 de 411
Returns the Matrix2D that converts an element's local coordinates into global (viewport) coordinates — e.g. apply({x:0,y:0}) gives that element's top-left corner in viewport space.
| Parameter | Type | Description |
|---|---|---|
| element | Element | must be a real element reference, not a selector |
| inverse | Boolean (optional) | return the inverse transformation instead |
| adjustGOffset | Boolean (optional) | ignore <g> elements' quirky offset behavior |
Returns: Matrix2D.