dojox
»
fx
»
easing
» quintInOut
dojox.fx.easing.quintInOut
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,
5
)
/
2
;
}
; n-=
2
;
return
(
Math
.
pow
(
n,
5
)
+
2
)
/
2
;
parameter
type
description
n
Decimal
Optional.