MCPcopy
hub / github.com/greensock/GSAP / apply

Method apply

src/utils/matrix.js:269–275  ·  view source on GitHub ↗
(point, decoratee={})

Source from the content-addressed store, hash-verified

267 }
268
269 apply(point, decoratee={}) {
270 let {x, y} = point,
271 {a, b, c, d, e, f} = this;
272 decoratee.x = (x * a + y * c + e) || 0;
273 decoratee.y = (x * b + y * d + f) || 0;
274 return decoratee;
275 }
276
277}
278

Callers 15

ScrollTrigger.jsFile · 0.80
_flattenFunction · 0.80
_callbackFunction · 0.80
_colorOrderDataFunction · 0.80
_configEaseFromStringFunction · 0.80
gsap-core.jsFile · 0.80
fFunction · 0.80
_originToPointFunction · 0.80
_getAlignMatrixFunction · 0.80
_alignFunction · 0.80
ScrollSmootherFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected