SignaturePathSetup constructor

const SignaturePathSetup({
  1. double threshold = 3.0,
  2. double smoothRatio = 0.65,
  3. double velocityRange = 2.0,
  4. double pressureRatio = 0.0,
  5. Map<String, dynamic>? args,
})

Implementation

const SignaturePathSetup({
  this.threshold = 3.0,
  this.smoothRatio = 0.65,
  this.velocityRange = 2.0,
  this.pressureRatio = 0.0,
  this.args,
})  : assert(threshold > 0.0),
      assert(smoothRatio > 0.0 && smoothRatio <= 1.0),
      assert(velocityRange > 0.0),
      assert(pressureRatio >= 0.0 && pressureRatio <= 1.0);