CosineShaper

Shaper which is an inverted partial cosine function. A CosineShaper will default to IN_OUT, or SIGMOID, however it can be set to be any of the three other modes. CosineShaper otherwise does not have any modifiers.

May be referred to as Tween.COSINE for use in setEasing().

Constructor
CosineShaper()
CosineShaper( shapeMode )
CosineShaper( shapeMode, transition )
CosineShaper( shapeMode, transitionX, transitionY )
Parameters
shapeMode
int: a shaping mode such as Shaper.SIGMOID
transitionX
float: sets the transition point in the x dimension for SIGMOID and SEAT
transitionY
float: sets the transition point in the f(x) dimension, for skewing the transition
Implementation
f(x){
  1 - cos( x*HALF_PI );
}
Related
Shaper