dojox
»
fx
»
easing
» quartInOut
dojox.fx.easing.quartInOut
dojo.require("dojox.fx.easing");
defined in dojox/fx/easing.js
Usage
function (/*
Decimal
?*/ n)
(view source)
n=n
*
2
;
if
(
n
<
1
)
{
return
Math
.
pow
(
n,
4
)
/
2
;
}
n-=
2
;
return
-1
/
2
*
(
Math
.
pow
(
n,
4
)
-
2
)
;
parameter
type
description
n
Decimal
Optional.