Capítulo 276 de 411

Chapter 276: MotionPathPlugin.getGlobalMatrix()

Core Idea

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.

Reference Tables

ParameterTypeDescription
elementElementmust be a real element reference, not a selector
inverseBoolean (optional)return the inverse transformation instead
adjustGOffsetBoolean (optional)ignore <g> elements' quirky offset behavior

Returns: Matrix2D.

Connects To

  • MotionPathPlugin.convertCoordinates(), getAlignMatrix(): higher-level methods built on this one.