BezierShaper

BezierShaper uses a Bezier curve through x, f(x) space in order to have more control over shaping and easing. It is initialized with handles which create a smooth ease in and out, and these handles can be manually set.

BezierShaper is capable of producing values outside of the 0 to 1 range, if you are working in a domain which requires 0 to 1, be sure to use clamp().

You may note that BezierShaper by default creates an ease in out shape, even though its mode is set to IN. Setting the mode to something other than IN can create interesting effects, but may not be what you expect. BezierShaper expects the user to create their own easing patterns by setting the handles.

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

Constructor
BezierShaper()
BezierShaper( shapeMode )
BezierShaper( shapeMode, transition )
BezierShaper( 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
Methods
setInHandle()
Sets the handle of the bezier curve for the in point
setOutHandle()
Sets the handle of the bezier curve for the out point
Implementation
f(x){
  ?
}
Related
Shaper