CatmullRomCurve3 constructor

CatmullRomCurve3({
  1. dynamic points,
  2. bool closed = false,
  3. String curveType = 'centripetal',
  4. num tension = 0.5,
})

Implementation

CatmullRomCurve3({
  points,
  this.closed = false,
  this.curveType = 'centripetal',
  this.tension = 0.5,
}) : super() {
  type = 'CatmullRomCurve3';
  this.points = points ?? [];
}