QuadraticShaper

QuadraticShaper is a basic quadratic or "square" function. A QuadraticShaper will default to IN_OUT, or SIGMOID, however it can be set to be any of the three other modes. QuadraticShaper otherwise does not have any modifiers.

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

Constructor
QuadraticShaper()
QuadraticShaper( shapeMode )
QuadraticShaper( shapeMode, transition )
QuadraticShaper( 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){
  x*x;
}
Related
BounceShaper Shaper