Shaper::setMode()
Description
Alters the mode of the shaper. Examples of easing modes are ease in, ease out, sigmoid and seat. This function takes IN, OUT, SIGMOID and SEAT to satisfy these modes, respectively. SIGMOID is another way of referring to IN_OUT. SEAT is another way of referring to OUT_IN.
Example
import megamu.shapetween.*;

Shaper cosine = new CosineShaper();
cosine.setMode( Shaper.SEAT );

beginShape();
for( float i=0; i<=1; i+= 0.05 )
  vertex( i*width, cosine.shape( i )*height );
endShape();
Syntax
setMode(mode)
Parameters
mode
Sets the shape mode,
Shaper.IN, Shaper.OUT, Shaper.SIGMOID, Shaper.SEAT
Related
setTransitionPoint()
shape()