copyWith method
DrawConfig
copyWith(
{ - double? maxRandomnessOffset,
- double? roughness,
- double? bowing,
- double? curveFitting,
- double? curveTightness,
- double? curveStepCount,
- double? fillWeight,
- int? seed,
- bool? combineNestedSvgPaths,
- Randomizer? randomizer,
})
Implementation
DrawConfig copyWith({
double? maxRandomnessOffset,
double? roughness,
double? bowing,
double? curveFitting,
double? curveTightness,
double? curveStepCount,
double? fillWeight,
int? seed,
bool? combineNestedSvgPaths,
Randomizer? randomizer,
}) =>
DrawConfig._(
maxRandomnessOffset: maxRandomnessOffset ?? this.maxRandomnessOffset,
roughness: roughness ?? this.roughness,
bowing: bowing ?? this.bowing,
curveFitting: curveFitting ?? this.curveFitting,
curveTightness: curveTightness ?? this.curveTightness,
curveStepCount: curveStepCount ?? this.curveStepCount,
seed: seed ?? this.seed,
randomizer: randomizer ??
(this.randomizer == null
? null
: Randomizer(seed: this.randomizer!.seed)));